summaryrefslogtreecommitdiffstats
path: root/abs/extra/re2c/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-10-27 17:18:50 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-10-27 17:18:50 (GMT)
commite2e8cdcd967c40a6deac4a2833a165528ca673cf (patch)
treedd963b2f7bc44e8077eb3a73185382e1bea5a151 /abs/extra/re2c/PKGBUILD
parentb218210e6fb3d46520a6d4d622777425197a97f7 (diff)
downloadlinhes_pkgbuild-e2e8cdcd967c40a6deac4a2833a165528ca673cf.zip
linhes_pkgbuild-e2e8cdcd967c40a6deac4a2833a165528ca673cf.tar.gz
linhes_pkgbuild-e2e8cdcd967c40a6deac4a2833a165528ca673cf.tar.bz2
re2c: initial inclusion. dep of ninja
Diffstat (limited to 'abs/extra/re2c/PKGBUILD')
-rw-r--r--abs/extra/re2c/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra/re2c/PKGBUILD b/abs/extra/re2c/PKGBUILD
new file mode 100644
index 0000000..a578a6b
--- /dev/null
+++ b/abs/extra/re2c/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer:
+# Contributor: nut543 <kfs1@online.no>
+# Contributor: Dale Blount <dale@archlinux.org>
+
+pkgname=re2c
+pkgver=1.0.2
+pkgrel=1
+arch=(i686 x86_64)
+depends=(gcc-libs)
+pkgdesc='A tool for generating C-based recognizers from regular expressions'
+url='http://re2c.org'
+license=(GPL)
+source=(re2c-$pkgver.tar.gz::https://github.com/skvadrik/re2c/archive/$pkgver.tar.gz)
+sha1sums=('d01b4d3c353bb32d5e4a1a61a377e0f4f03d4741')
+
+build() {
+ cd $pkgname-$pkgver/re2c
+# ./autogen.sh
+ autoreconf -i -W all
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver/re2c
+ make tests
+}
+
+package() {
+ cd $pkgname-$pkgver/re2c
+ make DESTDIR="$pkgdir" install
+}