1 # Maintainer: kfgz <kfgz at interia pl>
2 # Contributor: Chris Brannon <cmbrannon79 at gmail dot com>
3 # Contributor: Andrea Scarpino <andrea at archlinux dot org>
4 # Contributor: Anders Bergh <anders1 at gmail dot com>
5 # Contributor: Alexander Fehr <pizzapunk at gmail dot com>
11 pkgdesc="The Digital Mars D compiler."
13 url="http://www.digitalmars.com/d/1.0/"
14 source=(http://ftp.digitalmars.com/${_r_name}.${pkgver}.zip)
16 provides=('d-compiler')
19 depends=('lib32-gcc-libs' 'lib32-glibc')
20 optdepends=('lib32-libphobos: D standard runtime library')
21 md5sums=('fd2c3f8dd46d0fe4597e9d96b4ab86b2')
25 install -Dm644 "${srcdir}"/dmd/license.txt "${pkgdir}"/usr/share/licenses/dmd/LICENSE
27 install -Dm755 "${srcdir}"/dmd/linux/bin/dmd "${pkgdir}"/usr/bin/dmd
28 install -Dm755 "${srcdir}"/dmd/linux/bin/dumpobj "${pkgdir}"/usr/bin/dumpobj
29 install -Dm755 "${srcdir}"/dmd/linux/bin/obj2asm "${pkgdir}"/usr/bin/obj2asm
30 install -Dm755 "${srcdir}"/dmd/linux/bin/rdmd "${pkgdir}"/usr/bin/rdmd
32 for x in "${srcdir}"/dmd/man/man1/*.1; do
33 install -Dm644 "$x" "${pkgdir}"/usr/share/man/man1/$(basename "${x}")
36 for x in "${srcdir}"/dmd/man/man1/*.5; do
37 install -Dm644 "$x" "${pkgdir}"/usr/share/man/man5/$(basename "${x}")