summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/apkfoundry/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/apkfoundry/APKBUILD b/user/apkfoundry/APKBUILD
new file mode 100644
index 000000000..007c3d913
--- /dev/null
+++ b/user/apkfoundry/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=apkfoundry
+pkgver=0.5
+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="169caf3b594929814c87fa7a3b7d8e56476a7862d64eaf7bfdf13468c4258e8879f5de738758de39631085a5cbae4b47f7656b4335bb4d7fafd2abce834ee233 apkfoundry-0.5.tar.gz"