From 65d7e227d7c9740a2b00cfeeae35f9d186fc293b Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sat, 20 Jun 2020 23:48:34 -0500 Subject: user/apkfoundry: new package --- user/apkfoundry/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/apkfoundry/APKBUILD (limited to 'user/apkfoundry') diff --git a/user/apkfoundry/APKBUILD b/user/apkfoundry/APKBUILD new file mode 100644 index 000000000..3fa645550 --- /dev/null +++ b/user/apkfoundry/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Max Rees +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" -- cgit v1.2.3-70-g09d2