diff options
| author | Geod24 <pro.mathias.lang@gmail.com> | 2019-08-16 14:48:09 +0900 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-04 17:24:12 -0300 |
| commit | 7fcf460c1e599fea674b579cb2bf44d3c47dc28d (patch) | |
| tree | 52e9d1f91fb5199488d3038c8f5262695767b56f /testing/dub | |
| parent | 9e80a39e18ef4c9eb49b66e5e310d5dd00556913 (diff) | |
| download | aports-7fcf460c1e599fea674b579cb2bf44d3c47dc28d.tar.bz2 aports-7fcf460c1e599fea674b579cb2bf44d3c47dc28d.tar.xz | |
testing/dub: new aport
Add dub v1.18.0, the D package manager.
Diffstat (limited to 'testing/dub')
| -rw-r--r-- | testing/dub/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/dub/APKBUILD b/testing/dub/APKBUILD new file mode 100644 index 0000000000..35d389fb6a --- /dev/null +++ b/testing/dub/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Mathias LANG <pro.mathias.lang@gmail.com> +# Maintainer: Mathias LANG <pro.mathias.lang@gmail.com> +pkgname=dub +pkgver=1.18.0 +pkgrel=0 +pkgdesc="Package and build management system for D" +url="http://code.dlang.org/" +arch="x86_64" +license="MIT" +depends="libcurl" +makedepends="ldc ldc-static bash curl-dev" +source="$pkgname-$pkgver.zip::https://github.com/dlang/dub/archive/v$pkgver.zip" + +build() { + DMD=ldmd2 GITVER="v$pkgver" ./build.sh +} + +check() { + bin/dub test +} + +package() { + install -s -D "$builddir/bin/dub" "$pkgdir/usr/bin/dub" +} + +sha512sums="454479867cce89d6a555505bb6b51b11192c18ae622239c01b0b9914d0c007cc6aa9b68274e80baa2eea068ae4c41c6838eef516c7ed57a947759cb37452dfa8 dub-1.18.0.zip" |
