summaryrefslogtreecommitdiff
path: root/libre/dub/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-04-21 22:06:09 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-04-21 22:06:09 -0500
commit8662b405fb8368f57a09c0c1c7dba291583512bc (patch)
tree2244f34c26da7c04e1c5426053cb6382aeaed632 /libre/dub/PKGBUILD
parent93d90032ff7375123d4ec783c975f2dcbdde3635 (diff)
downloadabslibre-8662b405fb8368f57a09c0c1c7dba291583512bc.tar.gz
abslibre-8662b405fb8368f57a09c0c1c7dba291583512bc.tar.bz2
abslibre-8662b405fb8368f57a09c0c1c7dba291583512bc.zip
Removing dub: This package is in [community] repo
Diffstat (limited to 'libre/dub/PKGBUILD')
-rw-r--r--libre/dub/PKGBUILD36
1 files changed, 0 insertions, 36 deletions
diff --git a/libre/dub/PKGBUILD b/libre/dub/PKGBUILD
deleted file mode 100644
index 0d7892170..000000000
--- a/libre/dub/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Maintainer:(Arch) Mihails Strasuns <public@dicebot.lv>
-# Contributor (Arch): Moritz Maxeiner <moritz@ucworks.org>
-# Maintainer: André Silva <emulatorman@parabola.nu>
-pkgname=dub
-pkgver=1.2.1
-pkgrel=1.parabola1
-pkgdesc="Developer package manager for D programming language (built with gdc and libgphobos-devel)"
-arch=('i686' 'x86_64' 'armv7h')
-url="https://github.com/D-Programming-Language/dub"
-license=('MIT')
-makedepends=('gdc' 'libgphobos-devel')
-depends=('curl')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/dlang/dub/archive/v${pkgver}.tar.gz)
-sha512sums=('3c9c98a9d32e9629b907a62fadc301600e0a1752f1689e2af94a9c71cf4e53fe0117587b53e9d8e486eb04c0b31ca39ae8eb60785dfc0070f05bd684f32bb613')
-
-build()
-{
- DC=gdmd
- cd ${pkgname}-${pkgver}
-
- echo Generating version file...
- GITVER=${pkgver}
- echo "module dub.version_;" > source/dub/version_.d
- echo "enum dubVersion = \"$GITVER\";" >> source/dub/version_.d
- echo "enum initialCompilerBinary = \"$DC\";" >> source/dub/version_.d
-
- $DC -ofbin/dub -w -g -version=DubUseCurl -Isource -L-lcurl @build-files.txt
-}
-
-package()
-{
- cd ${pkgname}-${pkgver}
- install -D -m755 bin/dub "${pkgdir}/usr/bin/dub"
- install -D -m644 scripts/bash-completion/dub.bash $pkgdir/usr/share/bash-completion/completions/dub
- install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}