summaryrefslogtreecommitdiff
path: root/user/apkfoundry/APKBUILD
blob: c06c33e20cf05675d3a4dc3be503a7d62aed863a (plain) (blame)
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
31
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=apkfoundry
pkgver=0.6
pkgrel=0
pkgdesc="APK build orchestrator and distribution builder"
url="https://dev.sick.bike/apkfoundry/"
arch="all"
options="!check"  # Cannot be run inside itself.
license="GPL-2.0-only AND MIT"
depends="bubblewrap-nosuid python3 shadow-uidmap"
makedepends=""
subpackages="$pkgname-doc"
source="https://dev.sick.bike/dist/apkfoundry-$pkgver.tar.gz"

build() {
	cat >config.mk <<-EOF
		DEFAULT_ARCH = $CARCH
	EOF
	make configure
	make
}

check() {
	make check
}

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

sha512sums="71c1a0baabb2d1092e8873d438a14fba40eb953f7a11a93754e2dd6753da34a4427b2b7d50de6b7e7d34eb99b9bb91f829453d431649d3596a9789e1f1b34a0b  apkfoundry-0.6.tar.gz"