aboutsummaryrefslogtreecommitdiffstats
path: root/main/s6-rc/APKBUILD
diff options
context:
space:
mode:
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"