updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / accent / PKGBUILD
blob15278520aecc203b045eb89386dd6118fd1ec856
1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer: perlawk
3 pkgname=accent
4 pkgver=1.0
5 pkgrel=1 
6 pkgdesc="A Compiler Compiler for the Entire Class of Context-Free Languages."
7 url="http://accent.compilertools.net/accent.tar"
8 arch=(`arch`)
9 license=('GPL')
10 depends=()
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(http://accent.compilertools.net/$pkgname.tar
17 accent.patch)
18 md5sums=('70b8091b7924ee73ee330c4a618fe31d'
19          '598e76c266f353d4ac4e65d90800a031')
20 build() {
21   cd $startdir/src/$pkgname
22   patch -p1 < $startdir/accent.patch
23   cd $pkgname
24   ./build || return 1
25   install -m755 -d $pkgdir/usr/bin $pkgdir/usr/share/accent
26   install -m755 -t $pkgdir/usr/bin accent
27   install -m755 -t $pkgdir/usr/share/accent ../entire/entire.c
28   install -m755 -t $pkgdir/usr/share/accent ../amber/amber.c