1 # Maintainer: Bart Verhoeven <nepherte at archlinux dot us>
3 pkgname=mercury-compiler-rotd
5 _rotd=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}
7 pkgdesc="daily snapshot of the mercury language compiler"
9 url="http://www.cs.mu.oz.au/research/mercury/"
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')
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
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" \
42 # vim:set ts=2 sw=2 et: