From 86406dd61fe0227a61206784994062a08b5ed5a0 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 8 Mar 2018 16:25:43 +0000 Subject: re2: dep of qt5-webchannel --- abs/extra/re2/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 abs/extra/re2/PKGBUILD 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 +# Contributor: Anatol Pomozov +# Contributor: Gustavo Alvarez +# Contributor: Alexandre Bique + +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" +} -- cgit v0.12