PKGBUILDs/extra/re2c/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
626 B
Bash

# $Id: PKGBUILD 24259 2009-01-15 14:45:23Z dale $
# Contributor: nut543 <kfs1@online.no>
# Maintainer: Dale Blount <dale@archlinux.org>
pkgname=re2c
pkgver=0.13.5
arch=('i686' 'x86_64')
depends=('gcc-libs')
makedepends=('gcc')
pkgrel=1
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=('4a97d8f77ed6d2c76c8bd840a43f5633')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}