bison 3.8.2-1
This commit is contained in:
parent
89b8aab358
commit
a51190774a
32
bison/PKGBUILD
Normal file
32
bison/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||||
|
# then please put 'unknown'.
|
||||||
|
|
||||||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
|
pkgname=bison
|
||||||
|
pkgver=3.8.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="The GNU general-purpose parser generator"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://www.gnu.org/software/bison/"
|
||||||
|
license=('GPL3')
|
||||||
|
groups=('base-devel')
|
||||||
|
depends=('glibc' 'm4' 'bash' 'gettext')
|
||||||
|
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||||
|
sha256sums=(9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
CFLAGS+=' -ffat-lto-objects' \
|
||||||
|
${CONFIGURE} --docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
make DESTDIR=${pkgdir} install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user