aboutsummaryrefslogtreecommitdiffstats
path: root/community/gdmd/APKBUILD
blob: 11ce75f8a64c7a43359a321889311a107832fb6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Mathias LANG <pro.mathias.lang@gmail.com>
# Maintainer: Mathias LANG <pro.mathias.lang@gmail.com>
pkgname=gdmd
pkgver=0.1.0
pkgrel=0
pkgdesc="Wrapper providing DMD-like CLI interface to gdc"
url="https://github.com/D-Programming-GDC/gdmd"
# GDC does not support PPC64le
arch="all !ppc64le"
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"