[arch-commits] Commit in dstep/repos (4 files)

Михаил Страшун dicebot at nymeria.archlinux.org
Sun Mar 2 21:38:44 UTC 2014


    Date: Sunday, March 2, 2014 @ 22:38:44
  Author: dicebot
Revision: 106419

archrelease: copy trunk to community-i686, community-x86_64

Added:
  dstep/repos/community-i686/PKGBUILD
    (from rev 106418, dstep/trunk/PKGBUILD)
  dstep/repos/community-x86_64/PKGBUILD
    (from rev 106418, dstep/trunk/PKGBUILD)
Deleted:
  dstep/repos/community-i686/PKGBUILD
  dstep/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   88 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   39 -------------------
 community-x86_64/PKGBUILD |   39 -------------------
 3 files changed, 88 insertions(+), 78 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-03-02 21:38:31 UTC (rev 106418)
+++ community-i686/PKGBUILD	2014-03-02 21:38:44 UTC (rev 106419)
@@ -1,39 +0,0 @@
-# Maintainer: Dicebot <public at dicebot.lv>
-pkgname=dstep
-pkgver=0.1.0
-pkgrel=1
-pkgdesc="Automatic C header to D module translator"
-arch=('i686' 'x86_64')
-groups=('dlang')
-url="https://github.com/jacob-carlborg/dstep"
-license=('custom')
-depends=('clang')
-makedepends=('git' 'dmd' 'libphobos-devel' 'dtools')
-source=(
-    "git+https://github.com/jacob-carlborg/dstep.git#tag=v$pkgver"
-    "tango::git+https://github.com/SiegeLord/Tango-D2.git"
-    "http://www.boost.org/LICENSE_1_0.txt"
-)
-sha1sums=(
-    'SKIP'
-    'SKIP'
-    '3cba29011be2b9d59f6204d6fa0a386b1b2dbd90'
-)
-
-build ()
-{
-    cd $srcdir/tango
-    ARCH=$CARCH make -f build/Makefile
-
-    cd $srcdir/dstep
-    git submodule update --init --recursive
-    rdmd --build-only -debug -gc -ofbin/dstep -Idstack/mambo -Idstack -I$srcdir/tango -L-L$srcdir/tango -I/usr/include/dlang -L-lclang -L-ltango-dmd dstep/driver/DStep.d
-}
-
-package ()
-{
-    mkdir -p $pkgdir/usr/bin
-    install -m755 $srcdir/dstep/bin/dstep $pkgdir/usr/bin/dstep
-    mkdir -p $pkgdir/usr/share/licenses/$pkgname
-    install -m644 $srcdir/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: dstep/repos/community-i686/PKGBUILD (from rev 106418, dstep/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-03-02 21:38:44 UTC (rev 106419)
@@ -0,0 +1,44 @@
+# Maintainer: Dicebot <public at dicebot.lv>
+pkgname=dstep
+pkgver=0.1.0
+pkgrel=2
+pkgdesc="Automatic C header to D module translator"
+arch=('i686' 'x86_64')
+groups=('dlang')
+url="https://github.com/jacob-carlborg/dstep"
+license=('custom')
+depends=('clang')
+makedepends=('git' 'd-compiler' 'd-stdlib' 'dtools')
+source=(
+    "git+https://github.com/jacob-carlborg/dstep.git#tag=v$pkgver"
+    "tango::git+https://github.com/SiegeLord/Tango-D2.git"
+    "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
+    "http://www.boost.org/LICENSE_1_0.txt"
+)
+sha1sums=(
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    '3cba29011be2b9d59f6204d6fa0a386b1b2dbd90'
+)
+
+build ()
+{
+    DMD=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
+
+    cd $srcdir/tango
+    make -f build/Makefile DC=$DMD ARCH=$CARCH COMPILER=$(basedir $DMD) 
+    mv libtango-* libtango.a
+
+    cd $srcdir/dstep
+    git submodule update --init --recursive
+    rdmd --compiler=$DMD --build-only -debug -gc -ofbin/dstep -Idstack/mambo -Idstack -I$srcdir/tango -L-L$srcdir/tango -I/usr/include/dlang -L-lclang -L-ltango dstep/driver/DStep.d
+}
+
+package ()
+{
+    mkdir -p $pkgdir/usr/bin
+    install -m755 $srcdir/dstep/bin/dstep $pkgdir/usr/bin/dstep
+    mkdir -p $pkgdir/usr/share/licenses/$pkgname
+    install -m644 $srcdir/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-03-02 21:38:31 UTC (rev 106418)
+++ community-x86_64/PKGBUILD	2014-03-02 21:38:44 UTC (rev 106419)
@@ -1,39 +0,0 @@
-# Maintainer: Dicebot <public at dicebot.lv>
-pkgname=dstep
-pkgver=0.1.0
-pkgrel=1
-pkgdesc="Automatic C header to D module translator"
-arch=('i686' 'x86_64')
-groups=('dlang')
-url="https://github.com/jacob-carlborg/dstep"
-license=('custom')
-depends=('clang')
-makedepends=('git' 'dmd' 'libphobos-devel' 'dtools')
-source=(
-    "git+https://github.com/jacob-carlborg/dstep.git#tag=v$pkgver"
-    "tango::git+https://github.com/SiegeLord/Tango-D2.git"
-    "http://www.boost.org/LICENSE_1_0.txt"
-)
-sha1sums=(
-    'SKIP'
-    'SKIP'
-    '3cba29011be2b9d59f6204d6fa0a386b1b2dbd90'
-)
-
-build ()
-{
-    cd $srcdir/tango
-    ARCH=$CARCH make -f build/Makefile
-
-    cd $srcdir/dstep
-    git submodule update --init --recursive
-    rdmd --build-only -debug -gc -ofbin/dstep -Idstack/mambo -Idstack -I$srcdir/tango -L-L$srcdir/tango -I/usr/include/dlang -L-lclang -L-ltango-dmd dstep/driver/DStep.d
-}
-
-package ()
-{
-    mkdir -p $pkgdir/usr/bin
-    install -m755 $srcdir/dstep/bin/dstep $pkgdir/usr/bin/dstep
-    mkdir -p $pkgdir/usr/share/licenses/$pkgname
-    install -m644 $srcdir/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: dstep/repos/community-x86_64/PKGBUILD (from rev 106418, dstep/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-03-02 21:38:44 UTC (rev 106419)
@@ -0,0 +1,44 @@
+# Maintainer: Dicebot <public at dicebot.lv>
+pkgname=dstep
+pkgver=0.1.0
+pkgrel=2
+pkgdesc="Automatic C header to D module translator"
+arch=('i686' 'x86_64')
+groups=('dlang')
+url="https://github.com/jacob-carlborg/dstep"
+license=('custom')
+depends=('clang')
+makedepends=('git' 'd-compiler' 'd-stdlib' 'dtools')
+source=(
+    "git+https://github.com/jacob-carlborg/dstep.git#tag=v$pkgver"
+    "tango::git+https://github.com/SiegeLord/Tango-D2.git"
+    "git+https://github.com/Dicebot/Arch-PKGBUILDs.git"
+    "http://www.boost.org/LICENSE_1_0.txt"
+)
+sha1sums=(
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    '3cba29011be2b9d59f6204d6fa0a386b1b2dbd90'
+)
+
+build ()
+{
+    DMD=`$srcdir/Arch-PKGBUILDs/d-compiler.sh`
+
+    cd $srcdir/tango
+    make -f build/Makefile DC=$DMD ARCH=$CARCH COMPILER=$(basedir $DMD) 
+    mv libtango-* libtango.a
+
+    cd $srcdir/dstep
+    git submodule update --init --recursive
+    rdmd --compiler=$DMD --build-only -debug -gc -ofbin/dstep -Idstack/mambo -Idstack -I$srcdir/tango -L-L$srcdir/tango -I/usr/include/dlang -L-lclang -L-ltango dstep/driver/DStep.d
+}
+
+package ()
+{
+    mkdir -p $pkgdir/usr/bin
+    install -m755 $srcdir/dstep/bin/dstep $pkgdir/usr/bin/dstep
+    mkdir -p $pkgdir/usr/share/licenses/$pkgname
+    install -m644 $srcdir/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
+}




More information about the arch-commits mailing list