diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-11-19 10:10:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-11-19 10:10:33 -0300 |
commit | 9e30cea6b8a2e90fd8958ca1f773e3a382179763 (patch) | |
tree | 7ce1eda16c69a04998d595f3bfcccf9a65489327 /pcr/re2-hg/PKGBUILD | |
parent | 503317d2f4cb14793d90cca90822975c41e8c0a1 (diff) | |
parent | 858daf289b238f4aa3190656635fc354ddd2bce9 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Conflicts:
social/sobby/PKGBUILD
~fauno/kyotocabinet/PKGBUILD
~fauno/kyototycoon/PKGBUILD
Diffstat (limited to 'pcr/re2-hg/PKGBUILD')
-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 +} |