diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/bison++/PKGBUILD | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/bison++/PKGBUILD')
-rw-r--r-- | pcr/bison++/PKGBUILD | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/pcr/bison++/PKGBUILD b/pcr/bison++/PKGBUILD deleted file mode 100644 index 947c41df4..000000000 --- a/pcr/bison++/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Antonio Garcia-Dominguez <antonio.garciadominguez@uca.es> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> - -pkgname=bison++ -pkgver=1.21.11 -pkgrel=1 -pkgdesc="Parser generator in C or C++ from BNF notation" -arch=('i686' 'x86_64') -url="http://packages.debian.org/bison++" -license=('GPL') -source=('http://ftp.de.debian.org/debian/pool/main/b/bison++/bison++_1.21.11.orig.tar.gz' 'http://ftp.de.debian.org/debian/pool/main/b/bison++/bison++_1.21.11-3.diff.gz') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # Apply the Debian patch - patch -p1 < ../*.diff - - # Fix the broken Makefile.am script - sed -e ' - s/datadir/DESTDIR\)\$(datadir/ - s/bindir/DESTDIR\)\$(bindir/ - /^pkgdata_DATA/s/ Example$// - /install\-exec\-hook/i\install-data-hook:\ -\tcp -r $(srcdir)/Example $(DESTDIR)$(pkgdatadir)\ -' -i Makefile.am - - # Bootstrap the autotools and compile - aclocal - automake --add-missing - autoreconf - ./configure --prefix=/usr - make -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - make -k check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - - # Remove or rename files that could conflict with regular Bison - rm "$pkgdir/usr/bin/bison" - mv "$pkgdir/usr/share/info/"{bison,bison++}.info - rm "$pkgdir/usr/share/man/man1/bison.1" -} - -# vim:set ts=2 sw=2 et: |