updated on Mon Jan 9 08:00:21 UTC 2012
[aur-mirror.git] / qu / PKGBUILD
blobdac1fc03fc220dd49262fa933ff23734462355af
1 # Contributor: Christoph Zeiler <rabyte*gmail>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> 
4 pkgname=qu
5 pkgver=1.24.02
6 pkgrel=1
7 pkgdesc="A general purpose, object oriented programming language with a clean syntax"
8 arch=('i686' 'x86_64')
9 url="http://www.qu-lang.org/"
10 license=('GPL')
11 depends=('libqu' 'bash')
12 source=(http://www.qu-lang.org/qu-latest.tar.gz)
13 md5sums=('8df1092c35e52350ba08dfc486eb69b8')
15 build() {
16   cd $pkgname
17   ./configure --prefix=$pkgdir/usr/share
18   sed 's|local/||g' -i qu.conf
19   cd src
20   rm -f qu.o
21   make qu || return 1
22   cd ../lib
23   make || return 1
24   cd ..
25   make install
26   chmod 755 $pkgdir/usr/share/qu/bin/qu
27   mkdir -p $pkgdir/usr/bin
28   ln -sf /usr/share/qu/bin/qu $pkgdir/usr/bin/qu