diff --git a/ragel/PKGBUILD b/ragel/PKGBUILD new file mode 100644 index 000000000..5499ff9e0 --- /dev/null +++ b/ragel/PKGBUILD @@ -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 +}