# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/re2c pkgname=re2c pkgver=0.14.3 pkgrel=1 arch=('x86_64') depends=('gcc-libs') pkgdesc="a tool for generating C-based recognizers from regular expressions." url="http://re2c.sourceforge.net/" license=('GPL') source=(http://downloads.sourceforge.net/sourceforge/re2c/re2c-${pkgver}.tar.gz) md5sums=('9d6914369494ea924a1dd7d96715cdc0') build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } check() { cd $pkgname-$pkgver make tests } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }