summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2012-11-15 10:21:37 +0100
committeraurelien <aurelien@cwb.io>2012-11-15 10:21:37 +0100
commit87818f9f0bbcf93bda64edd9fb490944435ad23b (patch)
tree843713e5cbfa8e880b72ca1f68cf8eba5997057c
parent0cd9adb532064d3784120e8ef2df1631d83b96fb (diff)
+re2-hg x86_64
-rw-r--r--pcr/re2-hg/PKGBUILD29
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
+}