libpsl: switch from icu to libidn2
While we're at it, also support runtime public-suffix-list.
This commit is contained in:
parent
25022e7b5d
commit
736df7da50
|
@ -1,20 +1,27 @@
|
|||
# Template file for 'libpsl'
|
||||
pkgname=libpsl
|
||||
version=0.21.2
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config python3"
|
||||
makedepends="icu-devel"
|
||||
configure_args="--enable-runtime=libidn2
|
||||
--with-psl-distfile=/usr/share/publicsuffix/public_suffix_list.dafsa
|
||||
--with-psl-file=/usr/share/publicsuffix/public_suffix_list.dat"
|
||||
hostmakedepends="pkg-config python3 public-suffix"
|
||||
makedepends="libidn2-devel libunistring-devel"
|
||||
depends="public-suffix"
|
||||
short_desc="Public Suffix List library functions"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
license="MIT, BSD-3-Clause"
|
||||
homepage="https://rockdaboot.github.io/libpsl/"
|
||||
changelog="https://raw.githubusercontent.com/rockdaboot/libpsl/master/NEWS"
|
||||
distfiles="https://github.com/rockdaboot/libpsl/releases/download/${version}/libpsl-${version}.tar.gz"
|
||||
checksum=e35991b6e17001afa2c0ca3b10c357650602b92596209b7492802f3768a6285f
|
||||
python_version=3
|
||||
|
||||
post_install() {
|
||||
vbin src/psl-make-dafsa
|
||||
vlicense COPYING
|
||||
vlicense src/LICENSE.chromium
|
||||
}
|
||||
|
||||
libpsl-devel_package() {
|
||||
|
|
Loading…
Reference in New Issue