aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/libpsl/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/libpsl/APKBUILD b/community/libpsl/APKBUILD
index 945aa258d1..d1e4476908 100644
--- a/community/libpsl/APKBUILD
+++ b/community/libpsl/APKBUILD
@@ -1,18 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpsl
-pkgver=0.20.2
-pkgrel=1
+pkgver=0.21.0
+pkgrel=0
pkgdesc="C library for the Publix Suffix List"
url="https://rockdaboot.github.io/libpsl"
arch="all"
license="MIT"
-makedepends="gtk-doc python2"
-subpackages="$pkgname-dev $pkgname-doc"
+makedepends="python2"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/rockdaboot/libpsl/releases/download/libpsl-$pkgver/libpsl-$pkgver.tar.gz"
-builddir="$srcdir/libpsl-$pkgver"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,13 +22,19 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="fa9f6f7f0447d9fe00f5dfca5262c56ff26217eea44d0f7fc1e5d982224c41874e753f0aa06dd9e5d7d03d4f04e3dacd4f36034cc8dd0fc6e2c28b49a23e62fe libpsl-0.20.2.tar.gz"
+static() {
+ depends=""
+ pkgdesc="$pkgdesc (static library)"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
+}
+
+
+sha512sums="165c4f0b0640a813d512bd916e1532e32e43c8c81a5efd048f3a5b07b1b3c9129b4c4b5008b8b11a7c1b3914caea17564321389cd350bf1d687d53a97f2afa4d libpsl-0.21.0.tar.gz"