diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-03 03:39:05 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-03 03:39:05 +0000 |
commit | f0127fa225ad83116fabd5f7d9df4c92cd23f6f1 (patch) | |
tree | d99dfac9224fe3e070b5516f32d155d1b729c7cc /community/dub | |
parent | 20baa30c3c0e442a770f2906d12784ab7ef719ec (diff) |
Mon Mar 3 03:35:30 UTC 2014
Diffstat (limited to 'community/dub')
-rw-r--r-- | community/dub/PKGBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/community/dub/PKGBUILD b/community/dub/PKGBUILD index a3c876a20..8351e773b 100644 --- a/community/dub/PKGBUILD +++ b/community/dub/PKGBUILD @@ -2,26 +2,33 @@ # Contributor: Moritz Maxeiner <moritz@ucworks.org> pkgname=dub pkgver=0.9.21 -pkgrel=1 +pkgrel=2 pkgdesc="Developer package manager for D programming language" arch=('i686' 'x86_64') url="https://github.com/rejectedsoftware/dub" license=('MIT') -makedepends=('dmd' 'libphobos-devel' 'git') +makedepends=('d-compiler' 'd-stdlib' 'git') depends=('d-compiler' 'd-runtime' 'curl') conflicts=('dub-git') -source=("git+http://github.com/rejectedsoftware/dub.git#tag=v$pkgver") -sha256sums=('SKIP') +source=( + "git+http://github.com/rejectedsoftware/dub.git#tag=v$pkgver" + "git+https://github.com/Dicebot/Arch-PKGBUILDs.git" +) +sha256sums=( + 'SKIP' + 'SKIP' +) build() { + DMD=`$srcdir/Arch-PKGBUILDs/d-compiler.sh` cd "${srcdir}/${pkgname}" echo Generating version file... GITVER=$(git describe) || GITVER=unknown echo "module dub.version_; enum dubVersion = \"$GITVER\";" > source/dub/version_.d - dmd -ofbin/dub -g -debug -w -version=DubUseCurl -Isource -L-lcurl @build-files.txt + $DMD -ofbin/dub -g -debug -w -version=DubUseCurl -Isource -L-lcurl @build-files.txt } package() |