aboutsummaryrefslogtreecommitdiffstats
path: root/community/dumb-init/APKBUILD
blob: 97e552e59aef5bcfa1271efdae488b9a3154fe40 (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
# Contributor: Aaron Hurt <ahurtd@ena.com>
# Maintainer: Aaron Hurt <ahurt@ena.com>
pkgname=dumb-init
pkgver=1.2.1
pkgrel=0
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
}

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

sha512sums="5a621caab17e322bf67f6b1eecfed7a0b4c59f2369f62745a7403343d0d01a800fb075b7579a51b5f68f404a0fb35220b937b7253d1e598dfd32d9360b84ddf4  dumb-init-1.2.1.tar.gz"