1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
3 pkgname=publicsuffix-list
4 _gitcommit=ab0530155af1fe4b58194fe6792c4ec9731666bf
5 pkgver=20230222.1337.ab05301
7 pkgdesc='Cross-vendor public domain suffix database'
8 url='https://github.com/publicsuffix/list'
10 license=('custom:MPL2')
12 source=(${pkgname}::"git+https://github.com/publicsuffix/list#commit=${_gitcommit}")
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)"
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}"