Advertisement
Guest User

bisonc++ PKGBUILD

a guest
Oct 22nd, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.01 KB | None | 0 0
  1. # Maintainer: Anton Jongsma <anton@felrood.nl>
  2. pkgname=bisonc++
  3. pkgver=4.09.02
  4. pkgrel=1
  5. pkgdesc="C++ parser generator"
  6. arch=('i686' 'x86_64')
  7. url="http://bisoncpp.sourceforge.net"
  8. license=('GPL')
  9. depends=('libbobcat')
  10. makedepends=('icmake' 'yodl' 'licenses')
  11. optdepends=()
  12. source=("http://downloads.sourceforge.net/project/bisoncpp/bisonc++/${pkgver}/bisonc++_${pkgver}.orig.tar.gz")
  13. md5sums=('cdb9a11ec237f10b1c8cc31e7f4076d0')
  14.  
  15.  
  16. build() {
  17.   cd "$srcdir/bisonc++-${pkgver}"
  18.  
  19.   patch -p1 -i "$srcdir/manual_license.patch"
  20.  
  21.   CXXFLAGS="-std=c++11"
  22.   ./build program
  23.   ./build man
  24.   ./build manual
  25. }
  26.  
  27. package() {
  28.   cd "$srcdir/bisonc++-${pkgver}"
  29.   ./build install program "${pkgdir}/usr/bin/bisonc++"
  30.   ./build install skel "${pkgdir}/usr/share/bisonc++"
  31.   ./build install man "${pkgdir}/usr/man/man1"
  32.   ./build install manual "${pkgdir}/usr/share/doc/bisonc++-doc/manual"
  33.   ./build install std "${pkgdir}/usr/share/doc/bisonc++"
  34.   ./build install extra "${pkgdir}/usr/share/doc/bisonc++-doc"
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement