Skip to content

Commit

Permalink
libpsl: switch from icu to libidn2
Browse files Browse the repository at this point in the history
While we're at it, also support runtime public-suffix-list.
  • Loading branch information
sgn committed Dec 9, 2023
1 parent 25022e7 commit 736df7d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions srcpkgs/libpsl/template
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit 736df7d

Please sign in to comment.