aboutsummaryrefslogtreecommitdiffstats
path: root/community/gdmd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gdmd/APKBUILD')
-rw-r--r--community/gdmd/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/gdmd/APKBUILD b/community/gdmd/APKBUILD
new file mode 100644
index 00000000000..b2708f243c9
--- /dev/null
+++ b/community/gdmd/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: Mathias LANG <pro.mathias.lang@gmail.com>
+# Maintainer: Mathias LANG <pro.mathias.lang@gmail.com>
+pkgname=gdmd
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Wrapper providing DMD-like CLI interface to gdc"
+url="https://github.com/D-Programming-GDC/gdmd"
+# GDC does not support PPC64le
+arch="aarch64 s390x x86_64"
+license="GPL-3.0-or-later"
+depends="perl gcc-gdc"
+# It's a script, and needs to be installed to be tested
+# Additionally, there's no test suite for it, however
+options="!check"
+source="$pkgname-$pkgver.zip::https://github.com/D-Programming-GDC/gdmd/archive/script-$pkgver.zip"
+builddir="$srcdir/gdmd-script-$pkgver/"
+
+package() {
+ # gdmd needs to be in the same directory as GDC
+ install -D "dmd-script" "$pkgdir/usr/bin/gdmd"
+}
+
+sha512sums="bbba4f2de7acd19d366eafd382b59fb3384b3d65562ffb1309626b1184b7cbfd882a06200eb583ad28df7fcb370f819acf4b9b195f47f33939356f2839bb8020 gdmd-0.1.0.zip"