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

Михаил Страшун dicebot at nymeria.archlinux.org
Sun Mar 2 19:32:06 UTC 2014


    Date: Sunday, March 2, 2014 @ 20:32:06
  Author: dicebot
Revision: 106410

upgpkg: dmd 2.065.0-2

split dtools from dmd

Modified:
  dmd/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++-----------------------------------
 1 file changed, 8 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-02 19:21:19 UTC (rev 106409)
+++ PKGBUILD	2014-03-02 19:32:06 UTC (rev 106410)
@@ -6,21 +6,19 @@
 # Contributor: Anders Bergh <anders1 at gmail.com>
 # Contributor: Alexander Fehr <pizzapunk gmail com>
 
-pkgname=('dmd' 'libphobos-devel' 'libphobos' 'dtools')
+pkgname=('dmd' 'libphobos-devel' 'libphobos')
 groups=('dlang' 'dlang-dmd')
 pkgbase=dmd
 pkgver=2.065.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://www.dlang.org"
 makedepends=('git' 'gcc' 'make')
 source=("git+http://github.com/D-Programming-Language/dmd.git#tag=v$pkgver"
         "git+http://github.com/D-Programming-Language/druntime.git#tag=v$pkgver"
-        "git+http://github.com/D-Programming-Language/phobos.git#tag=v$pkgver"
-        "git+http://github.com/D-Programming-Language/tools#tag=v$pkgver")
+        "git+http://github.com/D-Programming-Language/phobos.git#tag=v$pkgver")
 sha1sums=('SKIP'
           'SKIP'
-          'SKIP'
           'SKIP')
 
 [[ $CARCH == "x86_64" ]] && _archbits="64"
@@ -35,15 +33,6 @@
 
     cd $srcdir/phobos
     make -f posix.mak MODEL=$_archbits DMD=$srcdir/dmd/src/dmd RELEASE=1
-
-    cd $srcdir/tools
-
-    # 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
-        ./dtools-rdmd --compiler=$srcdir/dmd/src/dmd --build-only -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/$_archbits/ -od. -ofdtools-`basename $tool` $tool.d
-    done
 }
 
 package_dmd() {
@@ -50,7 +39,11 @@
     pkgdesc="The D programming language reference compiler"
     backup=('etc/dmd.conf')
     depends=('gcc')
-    optdepends=('dtools: collection of useful utilities for development in D' 'libphobos-devel: standard library, development package')
+    optdepends=(
+        'dtools: collection of useful utilities for development in D' 'libphobos-devel: standard library, development package'
+        'libphobos-devel: standard D library, Phobos; modules + static library'
+        'libphobos: standard D library, Phobos; shared library'
+    )
     provides=("d-compiler=$pkgver")
     license=('custom')
     backup=('etc/dmd.conf')
@@ -104,23 +97,3 @@
     install -Dm644 $srcdir/phobos/generated/linux/release/$_archbits/libphobos2.so $pkgdir/usr/lib/libphobos2.so
     install -Dm644 $srcdir/phobos/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
 }
-
-package_dtools() {
-    pkgdesc="Ancilliary tools for the D programming language compiler"
-    depends=("curl")
-    license=("custom")
-
-    cd $srcdir/tools
-
-    mkdir -p $pkgdir/usr/bin
-    for tool in rdmd ddemangle catdoc detab tolf dget dustmite; do
-        install -m755 -t $pkgdir/usr/bin $pkgname-$tool
-    done
-
-    cd $pkgdir
-    ln -s dtools-rdmd usr/bin/rdmd
-    ln -s dtools-dustmite usr/bin/dustmite
-
-    # same Boost license as Phobos
-    install -Dm644 $srcdir/phobos/LICENSE_1_0.txt usr/share/licenses/$pkgname/LICENSE
-}




More information about the arch-commits mailing list