diff options
author | root <root@rshg054.dnsready.net> | 2012-06-07 00:01:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-07 00:01:55 +0000 |
commit | 334c2a7916a80d08b1c216cfbf02135e64891632 (patch) | |
tree | d5ed69695fb4da7349d218aa56fa4403017b7e9c /community/dmd | |
parent | 664b1c2195b2884102cc2d5a56a13702f8ee44fe (diff) |
Thu Jun 7 00:01:54 UTC 2012
Diffstat (limited to 'community/dmd')
-rw-r--r-- | community/dmd/PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/community/dmd/PKGBUILD b/community/dmd/PKGBUILD index 9eab4e27a..840f9311c 100644 --- a/community/dmd/PKGBUILD +++ b/community/dmd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 69334 2012-04-14 03:33:13Z svenstaro $ +# $Id: PKGBUILD 72013 2012-06-05 15:38:07Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Chris Brannon <cmbrannon79@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> @@ -8,8 +8,7 @@ pkgname=('dmd' 'libphobos') pkgbase=dmd pkgver=2.059 -pkgrel=1 -pkgdesc="The Digital Mars D compiler" +pkgrel=3 arch=('i686' 'x86_64') url="http://www.digitalmars.com/d/2.0/" source=(http://ftp.digitalmars.com/$pkgname.$pkgver.zip @@ -39,12 +38,15 @@ build() { } package_dmd() { + pkgdesc="The Digital Mars D compiler" + backup=('etc/dmd.conf') depends=('libphobos' 'gcc-libs') install -Dm755 $srcdir/dmd2/src/dmd/dmd $pkgdir/usr/bin/dmd mkdir -p $pkgdir/etc - echo -e "[Environment]\nDFLAGS=-I/usr/include/d -I/usr/include/d/druntime/import -L-L/usr/lib -L-lrt" > $pkgdir/etc/dmd.conf + echo -e "[Environment]\nDFLAGS=-I/usr/include/d -I/usr/include/d/druntime/import -L-L/usr/lib -L-L/usr/lib32 -L--no-warn-search-mismatch -L--export-dynamic" > $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 @@ -67,6 +69,7 @@ package_dmd() { } package_libphobos() { + pkgdesc="The phobos D standard library for DMD" install -Dm644 $srcdir/dmd2/src/druntime/lib/libdruntime-linux${_archbits}.a $pkgdir/usr/lib/libdruntime.a install -Dm644 $srcdir/dmd2/src/phobos/generated/linux/release/$_archbits/libphobos2.a $pkgdir/usr/lib/libphobos2.a |