[arch-commits] Commit in dmd/trunk (PKGBUILD)

Михаил Страшун dicebot at nymeria.archlinux.org
Mon Feb 24 17:34:41 UTC 2014


    Date: Monday, February 24, 2014 @ 18:34:41
  Author: dicebot
Revision: 106169

upgpkg: dmd 2.065.0-1

DMD upstream -> 2.065.0

Modified:
  dmd/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-24 17:05:04 UTC (rev 106168)
+++ PKGBUILD	2014-02-24 17:34:41 UTC (rev 106169)
@@ -9,7 +9,7 @@
 pkgname=('dmd' 'libphobos-devel' 'libphobos' 'dtools')
 groups=('dlang' 'dlang-dmd')
 pkgbase=dmd
-pkgver=2.064.2
+pkgver=2.065.0
 pkgrel=1
 arch=('i686' 'x86_64')
 url="http://www.dlang.org"
@@ -38,7 +38,7 @@
 
     cd $srcdir/tools
 
-    # rdmd is used to buil others
+    # rdmd is used to build others
     $srcdir/dmd/src/dmd -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/$_archbits/ -od. -ofdtools-rdmd rdmd.d
 
     for tool in DustMite/dustmite ddemangle catdoc detab tolf dget; do
@@ -60,8 +60,10 @@
     mkdir -p $pkgdir/etc
     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
+    mkdir -p $pkgdir/usr/share/man/man1
+    mkdir -p $pkgdir/usr/share/man/man5
+    cp -r $srcdir/dmd/docs/man/man1/* $pkgdir/usr/share/man/man1/
+    cp -r $srcdir/dmd/docs/man/man5/* $pkgdir/usr/share/man/man5/
 
     install -Dm644 $srcdir/dmd/src/backendlicense.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-backend
     install -Dm644 $srcdir/dmd/src/gpl.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-frontend.1




More information about the arch-commits mailing list