aboutsummaryrefslogtreecommitdiffstats
path: root/community/libpsl
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-07 04:51:28 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-30 15:23:11 +0000
commitaa71a2947ca959c2da9cf1a7ea8d98e1e001c3d9 (patch)
tree96e21cfc5ce1dea5d4c5a24e5423bda2df6aa46b /community/libpsl
parentc35bc1d1981599b82380b1acb30ba4c00779ca9c (diff)
downloadaports-aa71a2947ca959c2da9cf1a7ea8d98e1e001c3d9.tar.bz2
aports-aa71a2947ca959c2da9cf1a7ea8d98e1e001c3d9.tar.xz
community/libpsl: upgrade to 0.21.0
Diffstat (limited to 'community/libpsl')
-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"