summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-07-19 19:15:16 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-07-19 19:15:16 +0000
commitf3f538b908003b5a399a58ea860a8fa6f41a487f (patch)
treec010ef59e5bd36c1c0b7dbdbb8ee54df340d0c21
parentd45c507dd7fd125a353826cc643d7715941fdf0d (diff)
parent0eb20672a741ebd23e7892782a516a22e4e2b8aa (diff)
downloadpackages-f3f538b908003b5a399a58ea860a8fa6f41a487f.tar.gz
packages-f3f538b908003b5a399a58ea860a8fa6f41a487f.tar.bz2
packages-f3f538b908003b5a399a58ea860a8fa6f41a487f.tar.xz
packages-f3f538b908003b5a399a58ea860a8fa6f41a487f.zip
Merge branch 'new/apkfoundry' into 'master'
user/apkfoundry: new package See merge request adelie/packages!479
-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"