aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-07-04 18:39:42 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-05 08:34:55 +0000
commita1a62600848e12cea190a21cae5842f5bf3969af (patch)
tree761317fa7e77ae6cd8cb24edcf44741f4a5e4fc0
parent901bd9c7f2a196f67038d1c08e4a10a757d6221c (diff)
downloadaports-a1a62600848e12cea190a21cae5842f5bf3969af.tar.bz2
aports-a1a62600848e12cea190a21cae5842f5bf3969af.tar.xz
community/tini: upgrade to 0.15.0
Modernize abuild
-rw-r--r--community/tini/APKBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/community/tini/APKBUILD b/community/tini/APKBUILD
index 1e6bceb5c5..d657b13652 100644
--- a/community/tini/APKBUILD
+++ b/community/tini/APKBUILD
@@ -1,38 +1,34 @@
# Maintainer: Danilo Bürger <danilo@feastr.de>
pkgname=tini
-pkgver=0.14.0
+pkgver=0.15.0
pkgrel=0
pkgdesc="A tiny but valid init for containers"
url="https://github.com/krallin/tini"
arch="all"
license="MIT"
-depends=""
-depends_dev=""
-makedepends="$depends_dev cmake"
-install=""
+makedepends="cmake"
subpackages="$pkgname-static"
source="$pkgname-$pkgver.tar.gz::https://github.com/krallin/tini/archive/v$pkgver.tar.gz"
-
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
export CFLAGS="-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37"
- cmake . || return 1
- make || return 1
- make tini-static || return 1
+ cmake .
+ make
+ make tini-static
}
package() {
cd "$builddir"
- install -D -m755 tini "$pkgdir"/sbin/tini || return 1
+ install -D -m755 tini "$pkgdir"/sbin/tini
}
static() {
cd "$builddir"
pkgdesc="Static build of tini"
- install -D -m755 tini-static "$subpkgdir"/sbin/tini-static || return 1
+ install -D -m755 tini-static "$subpkgdir"/sbin/tini-static
}
-sha512sums="dc86c4d36e8bd232e0c8880d3ea6a7d55d01ab8ba7d903ac9e9edfb2d2fe39e900e20c63cedc3f22abd9b24d9fd1d309bd6823ce863fffe0909507f880356985 tini-0.14.0.tar.gz"
+sha512sums="774addddeb2bcefd1db2e4bff7c55bba6c3f4adc41e0b2a647059eef8cc5cc9d4a47b68cb4b89aa4e9e52b85916fe2680dad2a414c82b3c276beea89e3689481 tini-0.15.0.tar.gz"