2 # Maintainer: Chris Brannon <cmbrannon79@gmail.com>
3 # Contributor: Anders Bergh <anders1@gmail.com>
4 # Contributor: Ustalov "eveel" Dmitry <eveeel@gmail.com>
8 pkgdesc="The D Shared Software System"
10 url="http://dsource.org/projects/dsss"
13 makedepends=('dmd1' 'libphobos1')
14 source=(http://svn.dsource.org/projects/dsss/downloads/$pkgver/dsss-$pkgver.tar.bz2)
15 md5sums=('e018d5174a8d1a0c873056634389a060')
18 cd "$srcdir/$pkgname-$pkgver"
20 # rebuild makefile is broken
21 export MAKEFLAGS="-j1"
23 make -f Makefile.dmd.posix || return 1
27 cd "$srcdir/$pkgname-$pkgver"
29 --prefix="$pkgdir/usr" \
30 --libdir="$pkgdir/usr/lib" \
31 --includedir="$pkgdir/usr/include/d" \
32 --docdir="$pkgdir/usr/share/doc" \
33 --sysconfdir="$pkgdir/etc" \
34 --scratchdir="$pkgdir/tmp" || return 1
37 chmod 644 "$pkgdir/usr/share/dsss/manifest/dsss.manifest"
38 install -Dm644 docs/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1