[arch-commits] Commit in re2c/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 11:15:15 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:15:14
  Author: felixonmars
Revision: 384272

archrelease: copy trunk to staging-x86_64

Added:
  re2c/repos/staging-x86_64/
  re2c/repos/staging-x86_64/PKGBUILD
    (from rev 384271, re2c/trunk/PKGBUILD)

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

Copied: re2c/repos/staging-x86_64/PKGBUILD (from rev 384271, re2c/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 11:15:14 UTC (rev 384272)
@@ -0,0 +1,31 @@
+# Maintainer:
+# Contributor: nut543 <kfs1 at online.no>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=re2c
+pkgver=1.3
+pkgrel=2
+arch=(x86_64)
+depends=(gcc-libs)
+pkgdesc='A tool for generating C-based recognizers from regular expressions'
+url='https://re2c.org'
+license=(public domain)
+source=(re2c-$pkgver.tar.gz::https://github.com/skvadrik/re2c/archive/$pkgver.tar.gz)
+sha1sums=('e24dce0b37a2f453460c337ca4fc61ba2afc7ae1')
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make tests
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list