summaryrefslogtreecommitdiff
path: root/repo/system/libpsl.xibuild
blob: 5ecd701c7f7690b32fd24095497572e1a1a1837a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

DEPS=(libidn)

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"

build () {
    sed -i 's/env python/&3/' src/psl-make-dafsa &&
    ./configure --prefix=/usr --disable-static       &&
    make
    make DESTDIR=$PKG_DEST install
}