summaryrefslogtreecommitdiff
path: root/community/ragel/PKGBUILD
blob: fbff09e2741bb4554483951a136aa120e89f50b6 (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
27
28
29
30
31
32
# $Id: PKGBUILD 60639 2011-12-16 00:03:11Z tredaelli $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Michael P <ptchinster@archlinux.us>
# Contributor: Roberto Alsina <ralsina@kde.org>
# Contributor: Will Chappell <mr.chapendi@gmail.com>
# Contributor: Jesse Young <jesse.young@gmail.com>
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=ragel
pkgver=6.7
pkgrel=1
pkgdesc="Compiles finite state machines from regular languages into executable C, C++, Objective-C, or D code."
arch=('i686' 'x86_64')
url="http://www.complang.org/ragel/"
license=('GPL')
depends=('gcc-libs')
source=("http://www.complang.org/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('f4423e0d8a6538dd4e61498fcfad3cec')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}