summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-08 14:26:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-08 15:37:31 -0300
commit142effe105f42620bc2bfbf3f6c2dcf9d8bb84b6 (patch)
treea21ec4ebaebb169b8baa00b90afcd7c81a08cdee /libre
parentf56d2c7bcb34a61aacaef90f25b965e9555fc6ce (diff)
downloadabslibre-142effe105f42620bc2bfbf3f6c2dcf9d8bb84b6.tar.gz
abslibre-142effe105f42620bc2bfbf3f6c2dcf9d8bb84b6.tar.bz2
abslibre-142effe105f42620bc2bfbf3f6c2dcf9d8bb84b6.zip
dub-1.2.1-1.parabola1: updating version
Diffstat (limited to 'libre')
-rw-r--r--libre/dub/PKGBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/libre/dub/PKGBUILD b/libre/dub/PKGBUILD
index 2059ecd75..0d7892170 100644
--- a/libre/dub/PKGBUILD
+++ b/libre/dub/PKGBUILD
@@ -2,28 +2,24 @@
# Contributor (Arch): Moritz Maxeiner <moritz@ucworks.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=dub
-pkgver=1.1.1
+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' 'git')
+makedepends=('gdc' 'libgphobos-devel')
depends=('curl')
-source=(
- "git+https://github.com/D-Programming-Language/dub.git#tag=v$pkgver"
-)
-sha256sums=(
- 'SKIP'
-)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/dlang/dub/archive/v${pkgver}.tar.gz)
+sha512sums=('3c9c98a9d32e9629b907a62fadc301600e0a1752f1689e2af94a9c71cf4e53fe0117587b53e9d8e486eb04c0b31ca39ae8eb60785dfc0070f05bd684f32bb613')
build()
{
DC=gdmd
- cd "${srcdir}/${pkgname}"
+ cd ${pkgname}-${pkgver}
echo Generating version file...
- GITVER=$(git describe) || GITVER=unknown
+ 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
@@ -33,7 +29,7 @@ build()
package()
{
- cd "${srcdir}/${pkgname}"
+ 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"