core/re2c/PKGBUILD

29 lines
624 B
Bash
Raw Normal View History

2016-02-24 05:34:58 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/re2c
2010-03-14 23:48:48 +08:00
pkgname=re2c
2016-02-24 05:34:58 +08:00
pkgver=0.14.3
2010-03-14 23:48:48 +08:00
pkgrel=1
2016-02-24 05:34:58 +08:00
arch=('x86_64')
depends=('gcc-libs')
2010-03-14 23:48:48 +08:00
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)
2016-02-24 05:34:58 +08:00
md5sums=('9d6914369494ea924a1dd7d96715cdc0')
2010-03-14 23:48:48 +08:00
build() {
2016-02-24 05:34:58 +08:00
cd $pkgname-$pkgver
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr
2016-02-24 05:34:58 +08:00
make
2010-03-14 23:48:48 +08:00
}
2016-02-24 05:34:58 +08:00
check() {
cd $pkgname-$pkgver
make tests
}
2010-03-14 23:48:48 +08:00
2016-02-24 05:34:58 +08:00
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}