aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-02 12:39:41 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-13 15:45:11 +0000
commitb9ceeb44141f60e67de1019330faa83891873c4b (patch)
treee75500184b02df31e83652c9fed98523a267bd88 /main
parent4abd4d3a79496453f7478957d308a0b7848440a8 (diff)
downloadaports-b9ceeb44141f60e67de1019330faa83891873c4b.tar.bz2
aports-b9ceeb44141f60e67de1019330faa83891873c4b.tar.xz
main/s6-rc: upgrade to 0.5.1.1
Diffstat (limited to 'main')
-rw-r--r--main/s6-rc/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/main/s6-rc/APKBUILD b/main/s6-rc/APKBUILD
index fcf3910556..a1fc2e1329 100644
--- a/main/s6-rc/APKBUILD
+++ b/main/s6-rc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
# Contributor: Eivind Uggedal <eu@eju.no>
pkgname=s6-rc
-pkgver=0.5.0.0
+pkgver=0.5.1.1
pkgrel=0
pkgdesc="A service manager for s6-based systems."
url="http://skarnet.org/software/$pkgname/"
@@ -9,9 +9,8 @@ arch="all"
license="ISC"
options="!check"
makedepends="skalibs-dev execline-dev s6-dev"
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
+source="http://skarnet.org/software/s6-rc/s6-rc-$pkgver.tar.gz"
build() {
cd "$builddir"
@@ -20,7 +19,7 @@ build() {
--enable-static \
--disable-allstatic \
--libdir=/usr/lib \
- --libexecdir="/lib/$pkgname" \
+ --libexecdir="/lib/$pkgname" \
--with-dynlib=/lib
make
}
@@ -36,4 +35,9 @@ doc() {
cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}
-sha512sums="3fa084dd4eb489a8279135760d8051b74176994161cd989f038bef59b8abd6b8bc8c48a6ad2d2e7860627ee749d4abf6cda98857c7052f1097e9591a97355a18 s6-rc-0.5.0.0.tar.gz"
+static() {
+ default_static
+ rmdir -p "$pkgdir"/usr/lib || :
+}
+
+sha512sums="88e6ad4f09501eda231e3bbac58e9dafc925ff4b2c2a845c9796f3c1519834901f0126d751705b00ecd71173e208085bd68c5ae221a7074da8254d2b71e8a772 s6-rc-0.5.1.1.tar.gz"