Date: Monday, September 24, 2018 @ 21:55:39 Author: anatolik Revision: 335343
archrelease: copy trunk to testing-x86_64 Added: re2c/repos/testing-x86_64/ re2c/repos/testing-x86_64/PKGBUILD (from rev 335342, re2c/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: re2c/repos/testing-x86_64/PKGBUILD (from rev 335342, re2c/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-09-24 21:55:39 UTC (rev 335343) @@ -0,0 +1,31 @@ +# Maintainer: +# Contributor: nut543 <k...@online.no> +# Contributor: Dale Blount <d...@archlinux.org> + +pkgname=re2c +pkgver=1.1.1 +pkgrel=1 +arch=(x86_64) +depends=(gcc-libs) +pkgdesc='A tool for generating C-based recognizers from regular expressions' +url='http://re2c.org' +license=(public domain) +source=(re2c-$pkgver.tar.gz::https://github.com/skvadrik/re2c/archive/$pkgver.tar.gz) +sha1sums=('ddc72454d2ccbbd66b038bbe6bc14783a349ac4f') + +build() { + cd $pkgname-$pkgver/re2c + ./autogen.sh + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver/re2c + make tests +} + +package() { + cd $pkgname-$pkgver/re2c + make DESTDIR="$pkgdir" install +}