summaryrefslogtreecommitdiff
path: root/user/s6-portable-utils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/s6-portable-utils/APKBUILD')
-rw-r--r--user/s6-portable-utils/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/s6-portable-utils/APKBUILD b/user/s6-portable-utils/APKBUILD
new file mode 100644
index 000000000..6d0909f02
--- /dev/null
+++ b/user/s6-portable-utils/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
+pkgname=s6-portable-utils
+pkgver=2.3.1.0
+pkgrel=0
+pkgdesc="skarnet.org's portable miscellaneous utilities"
+url="https://skarnet.org/software/s6-portable-utils/"
+arch="all"
+options="!check"
+license="ISC"
+_skalibs_version=2.14.4
+depends=""
+makedepends="skalibs-dev>=$_skalibs_version"
+subpackages="$pkgname-doc"
+source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --disable-allstatic \
+ --prefix=/usr \
+ --with-dynlib=/lib \
+ --with-pkgconfig \
+ --enable-pkgconfig
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ mkdir -p -m 0755 "$pkgdir/usr/share/doc"
+ cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
+}
+
+sha512sums="80ab6152d5c3f88449d77924ceb43ccef12a41918d2fd8042ded15423b8f65e612d582c6475d73c500380018a91f7adc48c71740c898015565a046a8fbef1cd5 s6-portable-utils-2.3.1.0.tar.gz"