2018-03-19 13:58:33 +00:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
|
|
# Contributor: Darshit Shah <darnir@gmail.com>
|
|
|
|
|
|
|
|
# no changes, hold for soname bumps
|
|
|
|
|
|
|
|
pkgname=libpsl
|
2024-05-04 02:48:34 +00:00
|
|
|
pkgver=0.21.5
|
2024-05-11 22:09:44 +00:00
|
|
|
pkgrel=2
|
2018-03-19 13:58:33 +00:00
|
|
|
pkgdesc='Public Suffix List library'
|
|
|
|
url='https://github.com/rockdaboot/libpsl'
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('MIT')
|
2024-05-04 02:48:34 +00:00
|
|
|
depends=(
|
|
|
|
libidn2
|
|
|
|
libunistring
|
|
|
|
)
|
|
|
|
makedepends=(
|
|
|
|
gtk-doc
|
|
|
|
libxslt
|
|
|
|
publicsuffix-list
|
2024-05-11 22:09:44 +00:00
|
|
|
python
|
2024-05-04 02:48:34 +00:00
|
|
|
)
|
2018-03-23 12:39:49 +00:00
|
|
|
provides=('libpsl.so')
|
2024-05-04 02:48:34 +00:00
|
|
|
source=(https://github.com/rockdaboot/libpsl/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig})
|
|
|
|
sha512sums=('c14d575cecc0f1693894dd79565b6b9220084ddfa43b908a1cefe16d147cdd5ec47796eb0c2135e2f829a951abaf39d8a371ab5c1352f57b36e610e25adf91f5'
|
|
|
|
'SKIP')
|
|
|
|
b2sums=('a0076f622b85df99f866de6707850ac216b764bdb68c6d516f4603da42dac8eae3ee4c53d68dbb6af6f779c2c7f1b9caab74c8b558209b1f6823f95c13fc3ceb'
|
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen@gmx.de>
|
2018-03-19 13:58:33 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
rm -frv list
|
|
|
|
autoreconf -fiv
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--enable-man \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--enable-{builtin,runtime}=libidn2 \
|
|
|
|
--with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \
|
|
|
|
--with-psl-testfile=/usr/share/publicsuffix/test_psl.txt
|
|
|
|
LC_CTYPE=en_US.UTF-8 make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-11-08 01:06:54 +00:00
|
|
|
depends+=('libidn2.so' 'libunistring.so')
|
|
|
|
|
2018-03-19 13:58:33 +00:00
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|