From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/libpsl.xibuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'repo/system/libpsl.xibuild') 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 } -- cgit v1.2.1