diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/extra/re2/PKGBUILD | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/extra/re2/PKGBUILD')
-rw-r--r-- | abs/extra/re2/PKGBUILD | 33 |
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" +} |