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

Anatol Pomozov anatolik at archlinux.org
Mon Aug 24 19:56:05 UTC 2020


    Date: Monday, August 24, 2020 @ 19:56:05
  Author: anatolik
Revision: 394662

archrelease: copy trunk to testing-x86_64

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

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

Copied: re2c/repos/testing-x86_64/PKGBUILD (from rev 394661, re2c/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-08-24 19:56:05 UTC (rev 394662)
@@ -0,0 +1,32 @@
+# Maintainer:
+# Contributor: nut543 <kfs1 at online.no>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=re2c
+pkgver=2.0.3
+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=('52d16354fc70f2e20c8584d980fd83bb8c9e2382')
+
+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