diff options
author | root <root@rshg054.dnsready.net> | 2012-11-15 03:58:26 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-15 03:58:26 -0800 |
commit | 130aa30d45bf33a5ce926be8697a0e0c077cdc22 (patch) | |
tree | 93a245c570dfdf214e8376cda0624facef2ffe15 /pcr/re2-hg | |
parent | 2264379d37a6a00a3ecec1fd03c5dd4796078d49 (diff) |
Thu Nov 15 03:58:25 PST 2012
Diffstat (limited to 'pcr/re2-hg')
-rw-r--r-- | pcr/re2-hg/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/re2-hg/PKGBUILD b/pcr/re2-hg/PKGBUILD new file mode 100644 index 000000000..915af840b --- /dev/null +++ b/pcr/re2-hg/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +pkgname=re2-hg +pkgver=1 +pkgrel=1 +pkgdesc='Fast, safe and thread-friendly alternative to backtracking regular expression engines' +arch=('i686' 'x86_64') +url='http://code.google.com/p/re2/' +license=('GPL2') +provides=('re2') +makedepends=('mercurial') + +build() { + rm -rf re2 + hg clone https://re2.googlecode.com/hg re2 + + cd re2 + + sed -i 's_prefix=/usr/local_prefix=/usr_' Makefile + + make +} + +package() { + cd re2 + + make DESTDIR=${pkgdir} install +} |