summaryrefslogblamecommitdiff
path: root/user/dumb-init/APKBUILD
blob: e500cb00856f3a4a27d9c384eb3b33ccbcdbe1a5 (plain) (tree)





















                                                                                                                                                                     
# Contributor: Alyx Wolcott <alyx@leuhta.com>
# Maintainer: Alyx Wolcott <alyx@leuhta.com>
pkgname=dumb-init
pkgver=1.2.2
pkgrel=0
pkgdesc="A minimal init system for Linux containers"
url="https://github.com/Yelp/dumb-init"
arch="all"
options="!check" # Check requires Python 3.7 and will not function correctly within chroots.
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://github.com/Yelp/$pkgname/archive/v$pkgver.tar.gz"

build() {
	make
}

package() {
	mkdir -p $pkgdir/usr/bin
	install -m755 ./dumb-init $pkgdir/usr/bin/
}

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