Commit cc29b853 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

testing/re2: new aport

https://github.com/google/re2
A fast, safe, thread-friendly alternative to backtracking RE engines
parent bad30b66
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=re2
pkgver=20170701
_pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}
pkgrel=0
pkgdesc="A fast, safe, thread-friendly alternative to backtracking RE engines"
url="https://github.com/google/re2"
arch="all"
license="BSD"
subpackages="$pkgname-dev"
source="$pkgname-$_pkgver.tar.gz::https://github.com/google/$pkgname/archive/$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
build() {
cd "$builddir"
make prefix=/usr
}
check() {
cd "$builddir"
make shared-test static-test
}
package() {
cd "$builddir"
make prefix=/usr DESTDIR="$pkgdir" install
}
sha512sums="b638a5adb27bcda792a4915922130ca7fed0df52fc5dba3e5258f0c744e2ff682e382e04ffdf77ddd49d6776100fd950dd6035bad89418053e08bcdd7bde65da re2-2017-07-01.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment