diff options
author | root <root@rshg054.dnsready.net> | 2012-02-05 23:15:10 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-05 23:15:10 +0000 |
commit | bdb5b3e66f6afa586ea147f69af5e4ba388f7615 (patch) | |
tree | 4374282e7b40f1decf8ecb78f004114498208361 /community/dmd | |
parent | 359d940358dec836dd0acfe9d9caf0b1ff0a97fe (diff) |
Sun Feb 5 23:15:10 UTC 2012
Diffstat (limited to 'community/dmd')
-rw-r--r-- | community/dmd/PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/community/dmd/PKGBUILD b/community/dmd/PKGBUILD index 8738d72cf..e0ad22dc1 100644 --- a/community/dmd/PKGBUILD +++ b/community/dmd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 62087 2012-01-15 20:40:34Z svenstaro $ +# $Id: PKGBUILD 63477 2012-02-04 17:14:55Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Chris Brannon <cmbrannon79@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> @@ -8,13 +8,15 @@ pkgname=('dmd' 'libphobos') pkgbase=dmd pkgver=2.057 -pkgrel=1 +pkgrel=2 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) +source=(http://ftp.digitalmars.com/$pkgname.$pkgver.zip + tools.tar.gz::https://github.com/D-Programming-Language/tools/tarball/v2.057beta) +md5sums=('531c4b60eb002ea8abbe5c80b2eb677d' + '5a0e4a9fe31f55bc69a1dd02486b9c3a') license=('custom') -md5sums=('531c4b60eb002ea8abbe5c80b2eb677d') [[ $CARCH == "x86_64" ]] && _archbits="64" [[ $CARCH == "i686" ]] && _archbits="32" @@ -30,6 +32,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 } package_dmd() { @@ -41,12 +46,15 @@ package_dmd() { echo -e "[Environment]\nDFLAGS=-I/usr/include/d -I/usr/include/d/druntime/import -L-L/usr/lib -L-lrt" > $pkgdir/etc/dmd.conf install -Dm644 $srcdir/dmd2/man/man1/dmd.1 $pkgdir/usr/share/man/man1/dmd.1 + install -Dm644 $srcdir/dmd2/man/man1/rdmd.1 $pkgdir/usr/share/man/man1/rdmd.1 install -Dm644 $srcdir/dmd2/man/man1/dmd.conf.5 $pkgdir/usr/share/man/man5/dmd.conf.5 install -Dm644 $srcdir/dmd2/license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE mkdir -p $pkgdir/usr/share/d/samples/ cp -r $srcdir/dmd2/samples/d/* $pkgdir/usr/share/d/samples/ + + install -Dm755 $srcdir/D-Programming-Language-tools-*/rdmd $pkgdir/usr/bin/rdmd } package_libphobos() { |