[arch-commits] Commit in re2/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Thu Aug 3 04:10:34 UTC 2017
Date: Thursday, August 3, 2017 @ 04:10:33
Author: anatolik
Revision: 301548
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
re2/repos/testing-i686/
re2/repos/testing-i686/PKGBUILD
(from rev 301547, re2/trunk/PKGBUILD)
re2/repos/testing-x86_64/
re2/repos/testing-x86_64/PKGBUILD
(from rev 301547, re2/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
Copied: re2/repos/testing-i686/PKGBUILD (from rev 301547, re2/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-08-03 04:10:33 UTC (rev 301548)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+# Contributor: Alexandre Bique <bique.alexandre at gmail.com>
+
+pkgname=re2
+_tag='2017-08-01'
+pkgver=${_tag//-/}
+pkgrel=1
+pkgdesc='C++ library for fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python'
+url='https://github.com/google/re2'
+depends=(gcc-libs)
+arch=(i686 x86_64)
+license=(BSD)
+source=(re2-$pkgver.zip::https://github.com/google/re2/archive/$_tag.zip)
+sha1sums=('d92ac823aa8dea873b24479373f1b11884d0f7e6')
+
+build() {
+ cd re2-$_tag
+ make prefix=/usr
+}
+
+check() {
+ cd re2-$_tag
+ make prefix=/usr test
+}
+
+package() {
+ cd re2-$_tag
+ make prefix=/usr DESTDIR="$pkgdir" install
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Copied: re2/repos/testing-x86_64/PKGBUILD (from rev 301547, re2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-08-03 04:10:33 UTC (rev 301548)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+# Contributor: Alexandre Bique <bique.alexandre at gmail.com>
+
+pkgname=re2
+_tag='2017-08-01'
+pkgver=${_tag//-/}
+pkgrel=1
+pkgdesc='C++ library for fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python'
+url='https://github.com/google/re2'
+depends=(gcc-libs)
+arch=(i686 x86_64)
+license=(BSD)
+source=(re2-$pkgver.zip::https://github.com/google/re2/archive/$_tag.zip)
+sha1sums=('d92ac823aa8dea873b24479373f1b11884d0f7e6')
+
+build() {
+ cd re2-$_tag
+ make prefix=/usr
+}
+
+check() {
+ cd re2-$_tag
+ make prefix=/usr test
+}
+
+package() {
+ cd re2-$_tag
+ make prefix=/usr DESTDIR="$pkgdir" install
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list