blob: e699bea2de9e5dc0b6ade27ea6ed941eacbcc5da (
plain)
1 # Description: Public Suffix List library.
2 # URL: https://github.com/rockdaboot/libpsl
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: libidn2 publicsuffix-list
5
6 name=libpsl
7 version=0.21.1
8 release=1
9 source=(https://github.com/rockdaboot/$name/releases/download/$version/$name-$version.tar.lz)
10
11 build() {
12 meson setup build $name-$version \
13 --prefix=/usr \
14 --buildtype=plain \
15 --wrap-mode nodownload \
16 -D b_lto=true \
17 -D b_pie=true \
18 -D runtime=libidn2 \
19 -D builtin=libidn2 \
20 -D psl_file=/usr/share/publicsuffix/effective_tld_names.dat \
21 -D psl_testfile=/usr/share/publicsuffix/test_psl.txt
22
23 ninja -j ${JOBS-1} -C build
24 DESTDIR=$PKG meson install -C build
25 }
|