aboutsummaryrefslogtreecommitdiffstats
path: root/community/dumb-init/APKBUILD
blob: cf529af3fb187b9b64b1c02f143c31e8d2c87188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Aaron Hurt <ahurtd@ena.com>
# Maintainer: Aaron Hurt <ahurt@ena.com>
pkgname=dumb-init
pkgver=1.2.2
pkgrel=1
pkgdesc="A minimal init system for Linux containers"
url="https://github.com/Yelp/dumb-init"
arch="all"
license="MIT"
depends=""
makedepends="bash"
source="$pkgname-$pkgver.tar.gz::https://github.com/Yelp/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	./dumb-init --version > /dev/null
}

package() {
	cd "$builddir"
	install -sD -m 755 dumb-init "$pkgdir"/usr/bin/dumb-init
}

sha512sums="efb0b99d3a98a2ff0bd1ac9d105f034589869b44237575489fb0d2ebb99b13df4451cf355bf285b91ac1e87af9d5ac87aed3e9d225f0c0f47299ca716ed70b27  dumb-init-1.2.2.tar.gz"