[arch-commits] Commit in re2/repos (4 files)

Anatol Pomozov anatolik at archlinux.org
Wed Jan 25 13:25:14 UTC 2017


    Date: Wednesday, January 25, 2017 @ 13:25:14
  Author: anatolik
Revision: 287423

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  re2/repos/testing-i686/
  re2/repos/testing-i686/PKGBUILD
    (from rev 287422, re2/trunk/PKGBUILD)
  re2/repos/testing-x86_64/
  re2/repos/testing-x86_64/PKGBUILD
    (from rev 287422, 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 287422, re2/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-01-25 13:25:14 UTC (rev 287423)
@@ -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-01-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=('0c19ad0370af8a6dcff73e714c7f21363dc709db')
+
+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 287422, re2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-01-25 13:25:14 UTC (rev 287423)
@@ -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-01-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=('0c19ad0370af8a6dcff73e714c7f21363dc709db')
+
+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