upgpkg: ocaml-ctypes 0.20.2-1
[arch-packages.git] / bison / trunk / PKGBUILD
blob55b6fab92eb827a891e9947bcdc0d2313c6f034b
1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Eric Belanger <eric@archlinux.org>
5 pkgname=bison
6 pkgver=3.8.2
7 pkgrel=5
8 pkgdesc="The GNU general-purpose parser generator"
9 arch=('x86_64')
10 license=('GPL3')
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'
15             'SKIP')
16 validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E')  # Akim Demaille
18 build() {
19   cd "${pkgname}-${pkgver}"
21   CFLAGS+=' -ffat-lto-objects' \
22   ./configure --prefix=/usr --datadir=/usr/share
23   make
26 check() {
27   cd "${pkgname}-${pkgver}"
28   make check
31 package() {
32   cd "${pkgname}-${pkgver}"
33   make DESTDIR="${pkgdir}" install