diff options
Diffstat (limited to 'community/dmd')
-rw-r--r-- | community/dmd/PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/community/dmd/PKGBUILD b/community/dmd/PKGBUILD index c0e843c15..9eab4e27a 100644 --- a/community/dmd/PKGBUILD +++ b/community/dmd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 68172 2012-03-18 20:40:01Z svenstaro $ +# $Id: PKGBUILD 69334 2012-04-14 03:33:13Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Chris Brannon <cmbrannon79@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> @@ -7,15 +7,15 @@ pkgname=('dmd' 'libphobos') pkgbase=dmd -pkgver=2.058 -pkgrel=2 +pkgver=2.059 +pkgrel=1 pkgdesc="The Digital Mars D compiler" arch=('i686' 'x86_64') url="http://www.digitalmars.com/d/2.0/" source=(http://ftp.digitalmars.com/$pkgname.$pkgver.zip - tools.tar.gz::https://github.com/D-Programming-Language/tools/tarball/v${pkgver}) -md5sums=('81a0fe7b635d3a38ecbefff6048a37fe' - 'cce5249b59a38a4c0eddf113aff87698') + tools-${pkgver}.tar.gz::https://github.com/D-Programming-Language/tools/tarball/v${pkgver}) +md5sums=('803b182e71c4b021dfd1811066201140' + '1605a9cff8ac7b2228dad5f4f217dfec') license=('custom') [[ $CARCH == "x86_64" ]] && _archbits="64" @@ -33,8 +33,9 @@ build() { cd ../phobos make -f posix.mak MODEL=$_archbits DMD=../dmd/dmd - cd $srcdir/D-Programming-Language-tools-* - $srcdir/dmd2/src/dmd/dmd -I$srcdir/dmd2/src/druntime/import/ -I$srcdir/dmd2/src/phobos -L-L$srcdir/dmd2/src/phobos/generated/linux/release/$_archbits/ rdmd.d + # Building rdmd ourselves breaks in dmd 2.059 + #cd $srcdir/D-Programming-Language-tools-* + #$srcdir/dmd2/src/dmd/dmd -I$srcdir/dmd2/src/druntime/import/ -I$srcdir/dmd2/src/phobos -L-L$srcdir/dmd2/src/phobos/generated/linux/release/$_archbits/ rdmd.d } package_dmd() { @@ -57,7 +58,12 @@ package_dmd() { find $pkgdir/usr -type f | xargs chmod 0644 chmod 755 $pkgdir/usr/bin/* - install -Dm755 $srcdir/D-Programming-Language-tools-*/rdmd $pkgdir/usr/bin/rdmd + install -Dm755 $srcdir/dmd2/linux/bin${_archbits}/ddemangle $pkgdir/usr/bin/ddemangle + install -Dm755 $srcdir/dmd2/linux/bin${_archbits}/dman $pkgdir/usr/bin/dman + install -Dm755 $srcdir/dmd2/linux/bin${_archbits}/dumpobj $pkgdir/usr/bin/dumpobj + install -Dm755 $srcdir/dmd2/linux/bin${_archbits}/obj2asm $pkgdir/usr/bin/obj2asm + install -Dm755 $srcdir/dmd2/linux/bin${_archbits}/rdmd $pkgdir/usr/bin/rdmd + #install -Dm755 $srcdir/D-Programming-Language-tools-*/rdmd $pkgdir/usr/bin/rdmd } package_libphobos() { |