[arch-commits] Commit in re2c/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Mon Aug 10 14:24:09 UTC 2020
Date: Monday, August 10, 2020 @ 14:24:08
Author: anatolik
Revision: 393515
archrelease: copy trunk to testing-x86_64
Added:
re2c/repos/testing-x86_64/
re2c/repos/testing-x86_64/PKGBUILD
(from rev 393514, re2c/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: re2c/repos/testing-x86_64/PKGBUILD (from rev 393514, re2c/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-08-10 14:24:08 UTC (rev 393515)
@@ -0,0 +1,32 @@
+# Maintainer:
+# Contributor: nut543 <kfs1 at online.no>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=re2c
+pkgver=2.0.2
+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=('0b7a82142d54c73409bb66e44973c347c1af933d')
+
+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