summaryrefslogtreecommitdiff
path: root/extra/re2c/PKGBUILD
blob: d72f4d36457d2777bfcfedab661e581fcbbf50e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 149483 2012-02-08 10:02:54Z pierre $
# Maintainer:
# Contributor: nut543 <kfs1@online.no>
# Contributor: Dale Blount <dale@archlinux.org>

pkgname=re2c
pkgver=0.13.5
pkgrel=3
arch=('i686' 'x86_64' 'mips64el')
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/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('4a97d8f77ed6d2c76c8bd840a43f5633')

build() {
  cd "${srcdir}"/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver
  make DESTDIR="${pkgdir}" install
}