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

2014-03-02 Thread Михаил Страшун
Date: Sunday, March 2, 2014 @ 22:38:31
  Author: dicebot
Revision: 106418

upgpkg: dstep 0.1.0-2

dstep: detect d-compiler

Modified:
  dstep/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-02 21:15:14 UTC (rev 106417)
+++ PKGBUILD2014-03-02 21:38:31 UTC (rev 106418)
@@ -1,7 +1,7 @@
 # Maintainer: Dicebot pub...@dicebot.lv
 pkgname=dstep
 pkgver=0.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc=Automatic C header to D module translator
 arch=('i686' 'x86_64')
 groups=('dlang')
@@ -8,26 +8,31 @@
 url=https://github.com/jacob-carlborg/dstep;
 license=('custom')
 depends=('clang')
-makedepends=('git' 'dmd' 'libphobos-devel' 'dtools')
+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
-ARCH=$CARCH make -f build/Makefile
+make -f build/Makefile DC=$DMD ARCH=$CARCH COMPILER=$(basedir $DMD) 
+mv libtango-* libtango.a
 
 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
+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 ()



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

2013-11-10 Thread Михаил Страшун
Date: Sunday, November 10, 2013 @ 16:46:51
  Author: dicebot
Revision: 100773

upgpkg: dstep-git 0.1.0-1

dstep initial relase (0.1.0)

Modified:
  dstep/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-10 15:38:22 UTC (rev 100772)
+++ PKGBUILD2013-11-10 15:46:51 UTC (rev 100773)
@@ -8,8 +8,7 @@
 url=https://github.com/jacob-carlborg/dstep;
 license=('custom')
 depends=('clang')
-makedepends=('git' 'dmd' 'dtools')
-
+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;



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

2013-11-10 Thread Михаил Страшун
Date: Sunday, November 10, 2013 @ 16:55:05
  Author: dicebot
Revision: 100775

upgpkg: dstep 0.1.0-1

dstep initial relase (0.1.0)

Modified:
  dstep/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-10 15:47:05 UTC (rev 100774)
+++ PKGBUILD2013-11-10 15:55:05 UTC (rev 100775)
@@ -1,5 +1,5 @@
 # Maintainer: Dicebot pub...@dicebot.lv
-pkgname=dstep-git
+pkgname=dstep
 pkgver=0.1.0
 pkgrel=1
 pkgdesc=Automatic C header to D module translator