summaryrefslogtreecommitdiff
path: root/user/apkfoundry/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/apkfoundry/APKBUILD')
-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..c06c33e20
--- /dev/null
+++ b/user/apkfoundry/APKBUILD
@@ -0,0 +1,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"