diff options
-rw-r--r-- | system/skalibs/APKBUILD | 16 | ||||
-rw-r--r-- | system/skalibs/skalibs.pc.in | 5 |
2 files changed, 14 insertions, 7 deletions
diff --git a/system/skalibs/APKBUILD b/system/skalibs/APKBUILD index acef0c29c..d1f6e1f8d 100644 --- a/system/skalibs/APKBUILD +++ b/system/skalibs/APKBUILD @@ -1,26 +1,27 @@ # Contributor: Laurent Bercot <ska-adelie@skarnet.org> # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=skalibs -pkgver=2.14.2.0 +pkgver=2.14.3.0 pkgrel=0 pkgdesc="A set of general-purpose C programming libraries for skarnet.org software" url="https://skarnet.org/software/skalibs/" arch="all" options="!check" # No test suite. license="ISC" -subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" -source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-dev $pkgname-doc" +source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz skalibs.pc.in" build() { ./configure \ - --enable-shared \ - --enable-static \ - --libdir=/usr/lib + --with-sysdeps-devurandom=yes \ + --with-sysdeps-posixspawnearlyreturn=no make } package() { make DESTDIR="$pkgdir" install + sed -e "s/@@VERSION@@/$pkgver/g;" "$srcdir/$pkgname.pc.in" > "$srcdir/$pkgname.pc" + install -D -m 0644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc" mkdir -p -m 0755 "$pkgdir/usr/share/doc" cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname" } @@ -31,4 +32,5 @@ dev() { mv "$pkgdir/usr/lib/skalibs/sysdeps" "$subpkgdir/usr/lib/skalibs/" } -sha512sums="b96491e6429cc69bc75f50be99b7b18769cb756c1a82f698994c23aefb16bc68ee5558076993b948a6674203ecd82a454a978c89f450c219cc2728d52b7f5656 skalibs-2.14.2.0.tar.gz" +sha512sums="f40222740494425477252e78c772edda3f6cb201723558c513acb6c87d55a0f3432c918acf112c9457ed3ff0ee71bf5192f61b1c9070e668f219fd6d3f6f3bfa skalibs-2.14.3.0.tar.gz +5771f0e72e7e7e9a45cafdf2e4508938a29ff9474845c897e383004b031ad142dee1b65d83a9a0168696782163cb4a32f82db4d7360413b433e68282cd4cc487 skalibs.pc.in" diff --git a/system/skalibs/skalibs.pc.in b/system/skalibs/skalibs.pc.in new file mode 100644 index 000000000..33849426f --- /dev/null +++ b/system/skalibs/skalibs.pc.in @@ -0,0 +1,5 @@ +Name: skalibs +Description: The skarnet.org general-purpose C library. +URL: https://skarnet.org/software/skalibs/ +Version: @@VERSION@@ +Libs: -lskarnet |