summaryrefslogtreecommitdiff
path: root/repo/system/libpsl.xibuild
blob: 9cddf645f3ec1fbea34899ada7cb264e0cebfdfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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"

prepare () {
    sed -i 's/env python/&3/' src/psl-make-dafsa 
}

build () {
    ./configure --prefix=/usr --disable-static       &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}