blob: 3b2604c00dab841eaa928e7c66212ca12dcfa499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $Id: PKGBUILD 72006 2012-06-05 14:34:01Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Anders Bergh <anders1@gmail.com>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=('lib32-libphobos')
_pkgname=dmd
pkgver=2.060
pkgrel=1
pkgdesc="The phobos D standard library for DMD (32-bit)"
arch=('x86_64')
url="http://www.digitalmars.com/d/2.0/"
source=(http://ftp.digitalmars.com/$_pkgname.$pkgver.zip)
makedepends=('dmd')
license=('custom')
md5sums=('6cf237d16625bf37a757a413963fa999')
build() {
cd $srcdir/dmd2/src/
cd druntime
make -f posix.mak MODEL=32
cd ../phobos
make -f posix.mak MODEL=32
}
package() {
install -Dm644 $srcdir/dmd2/src/druntime/lib/libdruntime-linux32.a $pkgdir/usr/lib32/libdruntime.a
install -Dm644 $srcdir/dmd2/src/phobos/generated/linux/release/32/libphobos2.a $pkgdir/usr/lib32/libphobos2.a
install -Dm644 $srcdir/dmd2/src/druntime/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|