summaryrefslogtreecommitdiff
path: root/repo/system/libpsl.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libpsl.xibuild')
-rw-r--r--repo/system/libpsl.xibuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/repo/system/libpsl.xibuild b/repo/system/libpsl.xibuild
index 5ecd701..78ac850 100644
--- a/repo/system/libpsl.xibuild
+++ b/repo/system/libpsl.xibuild
@@ -6,9 +6,15 @@ PKG_VER=0.21.1
SOURCE=https://github.com/rockdaboot/libpsl/releases/download/$PKG_VER/libpsl-$PKG_VER.tar.gz
DESC="C library to handle the Public Suffix List"
+patch () {
+ sed -i 's/env python/&3/' src/psl-make-dafsa
+}
+
build () {
- sed -i 's/env python/&3/' src/psl-make-dafsa &&
./configure --prefix=/usr --disable-static &&
make
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}