jobcore/bison/PKGBUILD

47 lines
1.3 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=bison
pkgver=3.8.2
pkgrel=05
pkgdesc="The GNU general-purpose parser generator"
url="https://www.gnu.org/software/bison/bison.html"
depends=('glibc' 'm4' 'sh' 'gettext')
source=("https://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz"{,.sig})
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
CFLAGS+=' -ffat-lto-objects' \
./configure --prefix=/usr --datadir=/usr/share
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL3')
validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E') # Akim Demaille
sha256sums=(9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2 # bison-3.8.2.tar.xz
aeff6fd7d7d7cad905ba3bc5228a2ccb95500c0f51fb4483e229c47c7c50f835) # bison-3.8.2.tar.xz.sig
## 6fd67770e1628a59eee2085b56e815b1df1640b01796facdd37b700671536a7a bison-3.8.2-05-x86_64.pkg.tar.lz