updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / mercury-compiler-rotd / PKGBUILD
blobdd32c4936eaa7012430bbd1eb67a05880456437c
1 # Maintainer: Bart Verhoeven <nepherte at archlinux dot us>
3 pkgname=mercury-compiler-rotd
4 pkgver=20110425
5 _rotd=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}
6 pkgrel=1
7 pkgdesc="daily snapshot of the mercury language compiler"
8 arch=('i686' 'x86_64')
9 url="http://www.cs.mu.oz.au/research/mercury/"
10 license=('GPL')
11 depends=('gcc' 'make')
12 makedepends=('flex' 'bison')
13 provides=(mercury-compiler)
14 conflicts=(mercury-compiler)
15 changelog=$pkgname.changelog
16 source=(http://www.mercury.cs.mu.oz.au/download/files/beta-releases/rotd/${pkgname}-${_rotd}-unstable.tar.gz)
17 md5sums=('3ae99d22e0c4a501bca4ab128990cb3d')
19 build() {
20   cd $srcdir/$pkgname-$_rotd
22   ./configure --prefix=/usr --mandir=/usr/share/man \
23               --infodir=/usr/share/info --disable-debug-grades \
24               --disable-inefficient-grades 
26   # Uncomment PARALLEL and change -j accordingly to speed  up compilation
27   make #PARALLEL="-j2"
30 package() {
31   cd $srcdir/$pkgname-$_rotd
33   # Uncomment PARALLEL and change -j accordingly to speed  up compilation
34   make INSTALL_PREFIX="$pkgdir/usr" INSTALL_MAN_DIR="$pkgdir/usr/share/man" \
35        INSTALL_INFO_DIR="$pkgdir/usr/share/info" \
36        MERCURY_COMPILER="$pkgdir/usr/bin/mercury_compile" \
37        MERCURY_CONFIG_DIR="$pkgdir/usr/lib/mercury" \
38        #PARALLEL="-j2" \
39        install
42 # vim:set ts=2 sw=2 et: