db-move: moved evolution-ews from [testing] to [extra] (x86_64)
[arch-packages.git] / publicsuffix-list / trunk / PKGBUILD
blob9a0abce4ccfae3c9d446095f1e9bfb3ad00ef5f1
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
3 pkgname=publicsuffix-list
4 _gitcommit=ab0530155af1fe4b58194fe6792c4ec9731666bf
5 pkgver=20230222.1337.ab05301
6 pkgrel=1
7 pkgdesc='Cross-vendor public domain suffix database'
8 url='https://github.com/publicsuffix/list'
9 arch=('any')
10 license=('custom:MPL2')
11 makedepends=('git')
12 source=(${pkgname}::"git+https://github.com/publicsuffix/list#commit=${_gitcommit}")
13 sha512sums=('SKIP')
15 pkgver() {
16   cd ${pkgname}
17   printf "%s.%s.%s" "$(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD)" \
18     "$(git rev-list --count HEAD)" \
19     "$(git rev-parse --short HEAD)"
22 package() {
23   cd ${pkgname}
24   install -Dm 644 public_suffix_list.dat tests/test_psl.txt -t "${pkgdir}/usr/share/publicsuffix"
25   ln -s public_suffix_list.dat "${pkgdir}/usr/share/publicsuffix/effective_tld_names.dat"
26   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
29 # vim: ts=2 sw=2 et: