23 lines
685 B
Plaintext
23 lines
685 B
Plaintext
# Description: Public Suffix List library.
|
|
# URL: https://github.com/rockdaboot/libpsl
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libidn2-32 libpsl
|
|
|
|
name=libpsl-32
|
|
version=0.21.5
|
|
release=1
|
|
source=(https://github.com/rockdaboot/${name%-*}/releases/download/$version/${name%-*}-$version.tar.lz)
|
|
|
|
build() {
|
|
meson setup build ${name%-*}-$version --prefix=/usr --libdir=/usr/lib32 \
|
|
-D runtime=libidn2 \
|
|
-D builtin=true \
|
|
-D psl_file=/usr/share/publicsuffix/effective_tld_names.dat \
|
|
-D psl_testfile=/usr/share/publicsuffix/test_psl.txt
|
|
|
|
ninja -j ${JOBS-1} -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -rf $PKG/usr/{bin,include,share}
|
|
}
|