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

Anatol Pomozov anatolik at archlinux.org
Thu Jul 30 10:28:04 UTC 2020


    Date: Thursday, July 30, 2020 @ 10:28:03
  Author: anatolik
Revision: 392730

archrelease: copy trunk to testing-x86_64

Added:
  re2c/repos/testing-x86_64/
  re2c/repos/testing-x86_64/PKGBUILD
    (from rev 392729, re2c/trunk/PKGBUILD)

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

Copied: re2c/repos/testing-x86_64/PKGBUILD (from rev 392729, re2c/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-07-30 10:28:03 UTC (rev 392730)
@@ -0,0 +1,32 @@
+# Maintainer:
+# Contributor: nut543 <kfs1 at online.no>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=re2c
+pkgver=2.0.1
+pkgrel=1
+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=('330265ceb1c21a17ca589387fa0ea72e90e2ec16')
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr --enable-golang
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make tests
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list