summaryrefslogtreecommitdiff
path: root/community/dmd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dmd/PKGBUILD')
-rw-r--r--community/dmd/PKGBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/dmd/PKGBUILD b/community/dmd/PKGBUILD
index 95bed66d6..72037c483 100644
--- a/community/dmd/PKGBUILD
+++ b/community/dmd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 97970 2013-10-02 11:26:53Z dicebot $
+# $Id: PKGBUILD 98383 2013-10-09 11:50:00Z dicebot $
# Maintainer: Mihails Strasunse <public@dicebot.lv>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
@@ -10,7 +10,7 @@ pkgname=('dmd' 'libphobos-devel' 'libphobos' 'dtools')
groups=('dlang' 'dlang-dmd')
pkgbase=dmd
pkgver=2.063.2
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://www.dlang.org"
makedepends=('git' 'gcc' 'make')
@@ -62,7 +62,7 @@ package_dmd() {
install -Dm755 $srcdir/dmd/src/dmd $pkgdir/usr/bin/dmd
mkdir -p $pkgdir/etc
- echo -e "[Environment]\nDFLAGS=-I/usr/include/dlang/dmd -I/usr/include/dlang/dmd/druntime/import -L-L/usr/lib -L-L/usr/lib32 -L--no-warn-search-mismatch -L--export-dynamic" > $pkgdir/etc/dmd.conf
+ echo -e "[Environment]\nDFLAGS=-I/usr/include/dlang/dmd -L-L/usr/lib -L-L/usr/lib32 -L--no-warn-search-mismatch -L--export-dynamic" > $pkgdir/etc/dmd.conf
install -Dm644 $srcdir/dmd/docs/man/man1/dmd.1 $pkgdir/usr/share/man/man1/dmd.1
install -Dm644 $srcdir/dmd/docs/man/man1/dmd.conf.5 $pkgdir/usr/share/man/man5/dmd.conf.5
@@ -89,9 +89,7 @@ package_libphobos-devel() {
mkdir -p $pkgdir/usr/include/dlang/dmd
cp -r $srcdir/phobos/{*.d,etc,std} $pkgdir/usr/include/dlang/dmd
-
- mkdir -p $pkgdir/usr/include/dlang/dmd/druntime
- cp -r $srcdir/druntime/import $pkgdir/usr/include/dlang/dmd/druntime
+ cp -r $srcdir/druntime/import/* $pkgdir/usr/include/dlang/dmd/
find $pkgdir/usr -type f | xargs chmod 0644