aboutsummaryrefslogtreecommitdiffstats
path: root/main/s6-rc/APKBUILD
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2017-03-28 17:29:06 +0800
committerTimo Teräs <timo.teras@iki.fi>2017-04-27 05:36:27 +0000
commitd070dc7d43616a4d9308522153e1986a6ecb70a7 (patch)
tree21ed084e24053c9d9867cbc4d3a602108ce95b95 /main/s6-rc/APKBUILD
parent936de43a38318bbc7caa6ae6946ba33604de511c (diff)
downloadaports-d070dc7d43616a4d9308522153e1986a6ecb70a7.tar.bz2
aports-d070dc7d43616a4d9308522153e1986a6ecb70a7.tar.xz
main/s6-rc: upgrade to 0.2.0.0
Diffstat (limited to 'main/s6-rc/APKBUILD')
-rw-r--r--main/s6-rc/APKBUILD35
1 files changed, 10 insertions, 25 deletions
diff --git a/main/s6-rc/APKBUILD b/main/s6-rc/APKBUILD
index 084a02f36b..02399d31fb 100644
--- a/main/s6-rc/APKBUILD
+++ b/main/s6-rc/APKBUILD
@@ -1,54 +1,39 @@
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
# Contributor: Eivind Uggedal <eivind@uggedal.com>
pkgname=s6-rc
-pkgver=0.1.0.0
+pkgver=0.2.0.0
pkgrel=0
pkgdesc="A service manager for s6-based systems."
url="http://skarnet.org/software/$pkgname/"
arch="all"
license="ISC"
-depends="skalibs execline s6"
-depends_dev="skalibs-dev execline-dev s6-dev"
+options="!check"
makedepends="skalibs-dev execline-dev s6-dev"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--enable-shared \
--enable-static \
--disable-allstatic \
--libdir=/usr/lib \
--libexecdir="/lib/$pkgname" \
- --with-dynlib=/lib \
- || return 1
- make || return 1
+ --with-dynlib=/lib
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
doc() {
default_doc
mkdir -p "$subpkgdir/usr/share/doc"
- cp -a "$_builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
+ cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}
-md5sums="4d17dea017a07d0d1b5fc0d0ba5ade41 s6-rc-0.1.0.0.tar.gz"
-sha256sums="d04a8a765740ed55e38a33da3639197f51f83b3e498bdef5bc1d1d322b1acff3 s6-rc-0.1.0.0.tar.gz"
-sha512sums="d58f52e4bc132eab6fddd1be3b406d0314cc4fdd61e476310a16348c117b032dafd3ef8701219dd7476247d5b9a6685621e94212705aa88934cb1eaee7b1e6fe s6-rc-0.1.0.0.tar.gz"
+sha512sums="981d504382c9801ef53fb2a4a4f7410cf6165f1f49670cb5d42545c3e1bef6c0a50e6176b149fd61ec45ebe701411d12b5e7012cfb897d3472e52a1b8f76f636 s6-rc-0.2.0.0.tar.gz"