author | Anders Bergh <anders1@gmail.com> |
Mon, 17 Dec 2007 04:44:31 +0100 | |
changeset 1 | c42d991ddcdb |
permissions | -rw-r--r-- |
1
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
1 |
# Maintainer: Anders Bergh <anders1@gmail.com> |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
2 |
# Contributor: Alexander Fehr <pizzapunk gmail com> |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
3 |
pkgname=dmd |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
4 |
pkgver=1.024 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
5 |
pkgrel=1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
6 |
pkgdesc="The Digital Mars D compiler." |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
7 |
arch=('i686') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
8 |
url="http://www.digitalmars.com/d/1.0/" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
9 |
source=(http://ftp.digitalmars.com/$pkgname.$pkgver.zip) |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
10 |
md5sums=('249eb2a3b337ad4918444bb684219687') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
11 |
provides=('d-compiler' 'd-dmd') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
12 |
license=('custom') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
13 |
options=('!strip') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
14 |
makedepends=('unzip') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
15 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
16 |
build() { |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
17 |
# Copy the license |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
18 |
mkdir -p $startdir/pkg/usr/share/licenses/dmd || return 1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
19 |
cp $startdir/src/dmd/license.txt $startdir/pkg/usr/share/licenses/dmd/COPYING || return 1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
20 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
21 |
mkdir -p $startdir/pkg/usr/bin || return 1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
22 |
install -m755 $startdir/src/dmd/bin/dmd $startdir/pkg/usr/bin || return 1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
23 |
install -m755 $startdir/src/dmd/bin/dumpobj $startdir/pkg/usr/bin || return 1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
24 |
install -m755 $startdir/src/dmd/bin/obj2asm $startdir/pkg/usr/bin || return 1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
25 |
install -m755 $startdir/src/dmd/bin/rdmd $startdir/pkg/usr/bin || return 1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
26 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
27 |
mkdir -p $startdir/pkg/usr/man/man{1,5} |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
28 |
install -m644 $startdir/src/dmd/man/man1/*.1 $startdir/pkg/usr/man/man1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
29 |
install -m644 $startdir/src/dmd/man/man1/*.5 $startdir/pkg/usr/man/man5 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
30 |
} |