aboutsummaryrefslogtreecommitdiffstats
path: root/main/s6-linux-init/APKBUILD
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2017-03-28 17:29:03 +0800
committerTimo Teräs <timo.teras@iki.fi>2017-04-27 05:35:49 +0000
commit9d3bdebc18d668d014bee966f7d389fd98c54db5 (patch)
tree6449ed08f1e06c538853d0beacb4de8b21ca7445 /main/s6-linux-init/APKBUILD
parentfff5a772931ab8bbcb664d593725b7fe65e12fb7 (diff)
downloadaports-9d3bdebc18d668d014bee966f7d389fd98c54db5.tar.bz2
aports-9d3bdebc18d668d014bee966f7d389fd98c54db5.tar.xz
main/s6-linux-init: upgrade to 0.3.0.0
Diffstat (limited to 'main/s6-linux-init/APKBUILD')
-rw-r--r--main/s6-linux-init/APKBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/main/s6-linux-init/APKBUILD b/main/s6-linux-init/APKBUILD
index 46c893f1f8..55250660d4 100644
--- a/main/s6-linux-init/APKBUILD
+++ b/main/s6-linux-init/APKBUILD
@@ -1,20 +1,17 @@
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
# Contributor: Laurent Bercot <ska-devel@skarnet.org>
pkgname=s6-linux-init
-pkgver=0.2.0.0
+pkgver=0.3.0.0
pkgrel=0
pkgdesc="A set of tools to create and run an s6-based init system."
url="http://skarnet.org/software/$pkgname/"
arch="all"
license="ISC"
-depends="skalibs"
-depends_dev="skalibs-dev"
-makedepends="$depends_dev"
-install=""
-subpackages="$pkgname-dev"
+makedepends="skalibs-dev"
+subpackages="$pkgname-dev $pkgname-doc"
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
-
builddir="$srcdir/$pkgname-$pkgver"
+
build() {
cd "$builddir"
./configure \
@@ -22,9 +19,8 @@ build() {
--enable-static \
--disable-allstatic \
--prefix=/usr \
- --libdir=/usr/lib \
- || return 1
- make || return 1
+ --libdir=/usr/lib
+ make
}
package() {
@@ -32,6 +28,10 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="24b9b232a5bcbb6be1c592ae1c23eb6d s6-linux-init-0.2.0.0.tar.gz"
-sha256sums="131484e61eff0e671e112f0436b13e8e7d08752f810d8bec4924a68383eee2b9 s6-linux-init-0.2.0.0.tar.gz"
-sha512sums="16c8c97b65ad533b70ed9dd189827778797dc8d0a70af0880655b5f89a1524cd9d3675cb681b99f4704d43c810a4211c9926bfeb743247d7c29559ec2f77606e s6-linux-init-0.2.0.0.tar.gz"
+doc() {
+ default_doc
+ mkdir -p "$subpkgdir"/usr/share/doc
+ cp -a "$builddir"/doc "$subpkgdir"/usr/share/doc/$pkgname
+}
+
+sha512sums="9aa775fb2bb86680ba438a4a03b543fda696434eaf7ddea5009ec3adaebb899a2ed039a4727eb7d5427088ed3ff08a9eeaa853769f089789a7327a538f798c67 s6-linux-init-0.3.0.0.tar.gz"