new: lfs-12.2-systemd/bison-3.8.2
This commit is contained in:
25
lfs-12.2-systemd/bison-3.8.2.PKGBUILD
Normal file
25
lfs-12.2-systemd/bison-3.8.2.PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
pkgname=bison
|
||||||
|
pkgver=3.8.2
|
||||||
|
pkgdesc="The GNU general-purpose parser generator"
|
||||||
|
license=('GPL-3.0-or-later')
|
||||||
|
url="https://www.gnu.org/software/bison/bison.html"
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||||
|
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||||
|
md5sums=("c28f119f405a2304ff0a7ccdcc629713")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.2
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
src_check() {
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user