updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cchr / PKGBUILD
blob37bc2a7a2a5ae8f82c90bb568cd8a607a660db41
1 # Maintainer:  <ying@althonx4>
2 pkgname=cchr  
3 pkgver=20061119
4 pkgrel=1 
5 pkgdesc="CCHR - A CHR-in-C to C compiler, CHR means Constraint Handling Rules."
6 url="http://people.cs.kuleuven.be/~pieter.wuille/site.php/Research/CCHR"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 depends=()
10 makedepends=()
11 conflicts=()
12 replaces=()
13 backup=()
14 install=
15 source=(http://www.cs.kuleuven.be/~pieterw/static/${pkgname}.tgz)
16 md5sums=('e2a3ce6df9578f97da8a551f0cbf59b1')
17 build() {
18   cd $startdir/src/$pkgname
19   sed -e 's/-m32//g;' Makefile > .tmp
20   mv .tmp Makefile
21   make || return 1
22   mkdir -p $pkgdir/usr/bin
23   cp bin/cchr $pkgdir/usr/bin