1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Eric Belanger <eric@archlinux.org>
8 pkgdesc="The GNU general-purpose parser generator"
11 url="https://www.gnu.org/software/bison/bison.html"
12 depends=('glibc' 'm4' 'sh' 'gettext')
13 source=("https://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz"{,.sig})
14 sha512sums=('d4d23af6671406e97257892f90651b67f2ab95219831372be032190b7156c10a3435d457857e677445df8b2327aacccc15344acbbc3808a6f332a93cce23b444'
16 validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E') # Akim Demaille
19 cd "${pkgname}-${pkgver}"
21 CFLAGS+=' -ffat-lto-objects' \
22 ./configure --prefix=/usr --datadir=/usr/share
27 cd "${pkgname}-${pkgver}"
32 cd "${pkgname}-${pkgver}"
33 make DESTDIR="${pkgdir}" install