ragel: moved from extra to apps - FS#1022

This commit is contained in:
Neophytos Kolokotronis 2015-06-08 15:30:59 +00:00
parent ca6c899e10
commit 32643523bb

24
ragel/PKGBUILD Normal file
View File

@ -0,0 +1,24 @@
pkgname=ragel
pkgver=6.9
pkgrel=4
pkgdesc="Compiles finite state machines from regular languages into executable C, C++, Objective-C, or D code."
arch=('x86_64')
url="http://www.colm.net/open-source/ragel/"
license=('GPL')
depends=('gcc-libs')
source=("http://www.colm.net/files/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('0c3110d7f17f7af4d9cb774443898dc1')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -m0644 -D ragel.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/ragel.vim
}