aboutsummaryrefslogtreecommitdiffstats
path: root/community/s6-overlay-preinit/APKBUILD
blob: dd343715128a6e72219d65871bcec190449230b9 (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
# Contributor: Dermot Bradley <dermot_bradley@yahoo.com>
# Maintainer: Dermot Bradley <dermot_bradley@yahoo.com>
pkgname=s6-overlay-preinit
pkgver=1.0.2
pkgrel=1
pkgdesc="used by s6 overlay to initialise non-root containers"
url="https://github.com/just-containers/s6-overlay-preinit/"
arch="all"
license="ISC"
makedepends="skalibs-dev"
options="!check suid" # No tests provided. Requires SUID.
source="$pkgname-$pkgver.tar.gz::https://github.com/just-containers/s6-overlay-preinit/archive/v$pkgver.tar.gz"

build() {
	./configure \
		--enable-shared \
		--disable-allstatic \
		--with-sysdeps=/usr/lib/skalibs/sysdeps \
		--prefix=/
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="cc6d7ba96fe041a1276eb4d843ccfbc32d6efd1f06c59cda0221c6f55c06c2e00b16da909db061755ce4f0145eb10b4c76734674fff4ca258e6ef05b13b5f8e9  s6-overlay-preinit-1.0.2.tar.gz"