summaryrefslogtreecommitdiff
path: root/community/dmd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-20 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-03-20 00:01:23 +0000
commit99136e3a2e9f6f07a7ff08d5721bce354b853c8b (patch)
tree3cd677128a00bc9501f93e27e53ebba72f44cd52 /community/dmd
parentde5b6982e42f4a1e8b0537cfbc1b676e2a81f195 (diff)
Tue Mar 20 00:01:23 UTC 2012
Diffstat (limited to 'community/dmd')
-rw-r--r--community/dmd/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/dmd/PKGBUILD b/community/dmd/PKGBUILD
index 79d4d0c51..c0e843c15 100644
--- a/community/dmd/PKGBUILD
+++ b/community/dmd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 64556 2012-02-16 07:01:07Z svenstaro $
+# $Id: PKGBUILD 68172 2012-03-18 20:40:01Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
@@ -8,7 +8,7 @@
pkgname=('dmd' 'libphobos')
pkgbase=dmd
pkgver=2.058
-pkgrel=1
+pkgrel=2
pkgdesc="The Digital Mars D compiler"
arch=('i686' 'x86_64')
url="http://www.digitalmars.com/d/2.0/"
@@ -54,6 +54,9 @@ package_dmd() {
mkdir -p $pkgdir/usr/share/d/samples/
cp -r $srcdir/dmd2/samples/d/* $pkgdir/usr/share/d/samples/
+ 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
}
@@ -70,6 +73,8 @@ package_libphobos() {
mkdir -p $pkgdir/usr/share/doc/d/
cp -r $srcdir/dmd2/html $pkgdir/usr/share/doc/d/
+ find $pkgdir/usr -type f | xargs chmod 0644
+
install -Dm644 $srcdir/dmd2/src/druntime/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-druntime
install -Dm644 $srcdir/dmd2/src/phobos/phoboslicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-phobos
}