PKGBUILD 858 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
  2. # Contributor: Allan McRae <allan@archlinux.org>
  3. # Contributor: Eric Belanger <eric@archlinux.org>
  4. pkgname=bison
  5. pkgver=3.0.5
  6. pkgrel=1
  7. pkgdesc="The GNU general-purpose parser generator"
  8. arch=('x86_64' 'ppc64le')
  9. license=('GPL3')
  10. url="http://www.gnu.org/software/bison/bison.html"
  11. depends=('glibc' 'm4' 'sh')
  12. groups=('base-devel')
  13. source=("ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz"{,.sig})
  14. md5sums=('3e54f20988ecd1b62044e25481e5f06b'
  15. 'SKIP')
  16. validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E') # Akim Demaille
  17. build() {
  18. cd "${srcdir}/${pkgname}-${pkgver}"
  19. ./configure --prefix=/usr --datadir=/usr/share
  20. make
  21. }
  22. check() {
  23. cd "${srcdir}/${pkgname}-${pkgver}"
  24. make check
  25. }
  26. package() {
  27. cd "${srcdir}/${pkgname}-${pkgver}"
  28. make DESTDIR="${pkgdir}" install
  29. }