diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-12-09 14:34:12 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-12-09 14:34:12 (GMT) |
commit | f06d8e1bedfcf6d424a4736d43f366d95fb33690 (patch) | |
tree | a78baa8ac9914820a0c470c391772bcdb9e17b4d /abs/extra/re2c/PKGBUILD | |
parent | ada13c3f17134c5885f686509d128080450efa1b (diff) | |
parent | e4b0dec19f02e6d8e995b19a22110cac26f07ac4 (diff) | |
download | linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.zip linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.tar.gz linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/extra/re2c/PKGBUILD')
-rw-r--r-- | abs/extra/re2c/PKGBUILD | 33 |
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 +} |