# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=libre2 _pkgname=re2 pkgver=2017.07.01 _pkgver=${pkgver//./-} pkgrel=0 pkgdesc="an efficient, principled regular expression library" url="https://github.com/google/re2" arch="all" license="custom" options="!check" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/google/$_pkgname/archive/$_pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$_pkgver build() { cd "$builddir" make } package() { cd "$builddir" make DESTDIR="$pkgdir" prefix=/usr install install -Dm644 LICENSE \ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums="b638a5adb27bcda792a4915922130ca7fed0df52fc5dba3e5258f0c744e2ff682e382e04ffdf77ddd49d6776100fd950dd6035bad89418053e08bcdd7bde65da 2017-07-01.tar.gz"