Date: Monday, February 28, 2022 @ 08:12:53
  Author: allan
Revision: 438217

archrelease: copy trunk to staging-x86_64

Added:
  bison/repos/staging-x86_64/
  bison/repos/staging-x86_64/PKGBUILD
    (from rev 438216, bison/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: bison/repos/staging-x86_64/PKGBUILD (from rev 438216, 
bison/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2022-02-28 08:12:53 UTC (rev 438217)
@@ -0,0 +1,34 @@
+# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org>
+# Contributor: Allan McRae <al...@archlinux.org>
+# Contributor: Eric Belanger <e...@archlinux.org>
+
+pkgname=bison
+pkgver=3.8.2
+pkgrel=2
+pkgdesc="The GNU general-purpose parser generator"
+arch=('x86_64')
+license=('GPL3')
+url="https://www.gnu.org/software/bison/bison.html";
+depends=('glibc' 'm4' 'sh' 'gettext')
+groups=('base-devel')
+source=("https://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha512sums=('d4d23af6671406e97257892f90651b67f2ab95219831372be032190b7156c10a3435d457857e677445df8b2327aacccc15344acbbc3808a6f332a93cce23b444'
+            'SKIP')
+validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E')  # Akim Demaille
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr --datadir=/usr/share
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Reply via email to