diff options
Diffstat (limited to 'community/ragel/PKGBUILD')
-rw-r--r-- | community/ragel/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/ragel/PKGBUILD b/community/ragel/PKGBUILD new file mode 100644 index 000000000..3d40c9ec9 --- /dev/null +++ b/community/ragel/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 87968 2013-04-09 16:09:00Z 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.8 +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=('1bb39745ac23da449019f9f2cb4b0d01') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} |