diff options
Diffstat (limited to 'community/dstep/PKGBUILD')
-rw-r--r-- | community/dstep/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/community/dstep/PKGBUILD b/community/dstep/PKGBUILD index cc1e93ea4..a3319f99e 100644 --- a/community/dstep/PKGBUILD +++ b/community/dstep/PKGBUILD @@ -1,33 +1,38 @@ # Maintainer: Dicebot <public@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') 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 () |