upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ragel / trunk / PKGBUILD
blob82b2bc9f9b269fe35a35d2adf149690e1ade87a8
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>
8 pkgname=ragel
9 pkgver=6.10
10 pkgrel=3
11 pkgdesc="Compiles finite state machines from regular languages into executable C, C++, Objective-C, or D code."
12 arch=('x86_64')
13 url="http://www.complang.org/ragel/"
14 license=('GPL')
15 depends=('gcc-libs')
16 source=(https://www.colm.net/files/$pkgname/$pkgname-$pkgver.tar.gz{,.asc})
17 validpgpkeys=(C3260F001EE3780F1BC3D4F650FE47277DC196FB)
18 sha256sums=('5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f'
19             'SKIP')
21 build() {
22   cd "$srcdir/$pkgname-$pkgver"
24   ./configure --prefix=/usr CXXFLAGS="$CXXFLAGS -std=gnu++98" 
25   make
28 package() {
29   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR="$pkgdir/" install
32   install -m0644 -D ragel.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/ragel.vim