1 # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
2 # Contributor: Michael P <ptchinster@archlinux.us>
3 # Contributor: Roberto Alsina <ralsina@kde.org>
4 # Contributor: Will Chappell <mr.chapendi@gmail.com>
5 # Contributor: Jesse Young <jesse.young@gmail.com>
6 # Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
11 pkgdesc="Compiles finite state machines from regular languages into executable C, C++, Objective-C, or D code."
13 url="http://www.complang.org/ragel/"
16 source=(https://www.colm.net/files/$pkgname/$pkgname-$pkgver.tar.gz{,.asc})
17 validpgpkeys=(C3260F001EE3780F1BC3D4F650FE47277DC196FB)
18 sha256sums=('5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f'
22 cd "$srcdir/$pkgname-$pkgver"
24 ./configure --prefix=/usr CXXFLAGS="$CXXFLAGS -std=gnu++98"
29 cd "$srcdir/$pkgname-$pkgver"
31 make DESTDIR="$pkgdir/" install
32 install -m0644 -D ragel.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/ragel.vim