Switch dtools to ldc as default compiler

This commit is contained in:
Михаил Страшун 2015-02-15 13:24:31 +00:00
parent bd8385c285
commit 2692d343bf

View File

@ -1,15 +1,18 @@
# Maintainer: Mihails Strasunse <public@dicebot.lv> # Maintainer: Mihails Strasunse <public@dicebot.lv>
pkgname=('dtools') pkgname=('dtools')
pkgver=2.065.0 pkgver=2.066.1
pkgrel=3 pkgrel=1
pkgdesc="Ancilliary tools for the D programming language compiler" pkgdesc="Ancilliary tools for the D programming language"
license=("custom") license=("custom")
groups=('dlang' 'dlang-dmd') groups=('dlang')
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.dlang.org" url="http://www.dlang.org"
depends=("curl") # makedepends=('d-compiler' 'd-runtime' 'git')
makedepends=('git' 'gcc' 'make' 'd-compiler') makedepends=('ldc' 'git')
# depends=('d-runtime' 'curl')
depends=('liblphobos')
source=( source=(
"git+http://github.com/D-Programming-Language/tools#tag=v$pkgver" "git+http://github.com/D-Programming-Language/tools#tag=v$pkgver"
"git+https://github.com/Dicebot/Arch-PKGBUILDs.git" "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
@ -23,7 +26,8 @@ sha1sums=(
build() build()
{ {
DMD=`$srcdir/Arch-PKGBUILDs/d-compiler.sh` # DMD=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
DMD=ldmd
cd $srcdir/tools cd $srcdir/tools