summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-06-20 23:48:34 -0500
committerMax Rees <maxcrees@me.com>2020-06-20 23:48:34 -0500
commit65d7e227d7c9740a2b00cfeeae35f9d186fc293b (patch)
tree4e8bebbeddaec93706e141c8fd7529a5de510c1c /user
parentf7f7951daabc324db9a74e513ee39a8653c22a1e (diff)
downloadpackages-65d7e227d7c9740a2b00cfeeae35f9d186fc293b.tar.gz
packages-65d7e227d7c9740a2b00cfeeae35f9d186fc293b.tar.bz2
packages-65d7e227d7c9740a2b00cfeeae35f9d186fc293b.tar.xz
packages-65d7e227d7c9740a2b00cfeeae35f9d186fc293b.zip
user/apkfoundry: new package
Diffstat (limited to 'user')
-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..3fa645550
--- /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://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"