updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / re2-hg / PKGBUILD
blob1d09ecfcc15f194b98cd115a91d953b7472db8b1
1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
3 pkgname=re2-hg
4 pkgver=1
5 pkgrel=1
6 pkgdesc='RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.'
7 arch=('i686' 'x86_64')
8 url='http://code.google.com/p/re2/'
9 license=('GPL2')
10 #depends=('log4cpp' 'hyperic-sigar' 'thrift' 'google-perftools' 'kfs' 'ceph' 'rrdtool')
12 build() { 
13   rm -rf re2
14   hg clone https://re2.googlecode.com/hg re2
16   cd re2
18   sed -i 's_prefix=/usr/local_prefix=/usr_' Makefile
20   make
23 package() {
24   cd re2
26   make DESTDIR=${pkgdir} install