updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / styx / PKGBUILD
blob10706a50850fe682bd82057ae42e815fe6fb6e98
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=styx
4 pkgver=1.8.0
5 pkgrel=1
6 pkgdesc="A scanner and parser generator designed to address some shortcomings of the traditional lex/yacc combination."
7 arch=('i686' 'x86_64')
8 url="http://speculate.de/styx/"
9 license=('GPL2' 'LGPL')
10 options=('!libtool')
11 source=("http://speculate.de/styx/$pkgname-$pkgver.tar.gz")
12 md5sums=('71ef4c7bb2c40d1be73a670153d66b2e')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   ./configure --prefix=/usr \
18               --enable-static=no \
19               --datarootdir=/usr/share/$pkgname \
20               --includedir=/usr/include/$pkgname
22   make
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
28   make DESTDIR="$pkgdir/" install