summaryrefslogtreecommitdiff
path: root/user/apkfoundry/APKBUILD
blob: 3fa6455508584b5a1f8f74028b6ba9d9f67a71ed (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.5
pkgrel=0
pkgdesc="APK build orchestrator and distribution builder"
url="https://code.foxkit.us/sroracle/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="169caf3b594929814c87fa7a3b7d8e56476a7862d64eaf7bfdf13468c4258e8879f5de738758de39631085a5cbae4b47f7656b4335bb4d7fafd2abce834ee233  apkfoundry-0.5.tar.gz"