summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-08 16:25:43 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-08 16:25:43 (GMT)
commit86406dd61fe0227a61206784994062a08b5ed5a0 (patch)
treee06ddf29429393e0d5c5cad473e997a967ac2fd8
parentb40a8579e17e841f738d7b7771cb4d59f5b7baf1 (diff)
downloadlinhes_pkgbuild-86406dd61fe0227a61206784994062a08b5ed5a0.zip
linhes_pkgbuild-86406dd61fe0227a61206784994062a08b5ed5a0.tar.gz
linhes_pkgbuild-86406dd61fe0227a61206784994062a08b5ed5a0.tar.bz2
re2: dep of qt5-webchannel
-rw-r--r--abs/extra/re2/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra/re2/PKGBUILD b/abs/extra/re2/PKGBUILD
new file mode 100644
index 0000000..46ae739
--- /dev/null
+++ b/abs/extra/re2/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
+# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
+# Contributor: Alexandre Bique <bique.alexandre@gmail.com>
+
+pkgname=re2
+_re2ver=2018-03-01
+pkgver=${_re2ver//-}
+pkgrel=1
+pkgdesc="Fast, safe, thread-friendly regular expression engine"
+arch=('x86_64')
+url="https://github.com/google/re2"
+license=('BSD')
+depends=('gcc-libs')
+source=(re2-$pkgver.tar.gz::https://github.com/google/re2/archive/$_re2ver.tar.gz)
+sha256sums=('51dc7ee9d1a68ee0209672ac4bdff56766c56606dfcdd57aed022015c4784178')
+
+build() {
+ cd $pkgname-$_re2ver
+ make
+}
+
+check() {
+ cd $pkgname-$_re2ver
+ make test
+}
+
+package() {
+ cd $pkgname-$_re2ver
+ make prefix=/usr DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}