summaryrefslogtreecommitdiff
path: root/repo/system/libpsl.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/libpsl.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
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
}