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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 5 15:59:10 UTC 2015


    Date: Saturday, December 5, 2015 @ 16:59:09
  Author: bpiotrowski
Revision: 148516

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  re2/repos/community-staging-i686/
  re2/repos/community-staging-i686/PKGBUILD
    (from rev 148515, re2/trunk/PKGBUILD)
  re2/repos/community-staging-x86_64/
  re2/repos/community-staging-x86_64/PKGBUILD
    (from rev 148515, re2/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: re2/repos/community-staging-i686/PKGBUILD (from rev 148515, re2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-05 15:59:09 UTC (rev 148516)
@@ -0,0 +1,33 @@
+# $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
+pkgver=20140304
+pkgrel=2
+pkgdesc='C++ library for fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python'
+url='http://code.google.com/p/re2/'
+depends=(gcc-libs)
+arch=(i686 x86_64)
+license=(BSD)
+source=(https://re2.googlecode.com/files/re2-$pkgver.tgz)
+sha1sums=('f30dda8e530921b623c32aa58a5dabbe9157f6ca')
+
+build() {
+  cd re2
+  LDFLAGS+=" -pthread"
+  make prefix=/usr
+}
+
+check() {
+  cd re2
+  LDFLAGS+=" -pthread"
+  make prefix=/usr test
+}
+
+package() {
+  cd re2
+  make prefix=/usr DESTDIR="$pkgdir" install
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: re2/repos/community-staging-x86_64/PKGBUILD (from rev 148515, re2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-05 15:59:09 UTC (rev 148516)
@@ -0,0 +1,33 @@
+# $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
+pkgver=20140304
+pkgrel=2
+pkgdesc='C++ library for fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python'
+url='http://code.google.com/p/re2/'
+depends=(gcc-libs)
+arch=(i686 x86_64)
+license=(BSD)
+source=(https://re2.googlecode.com/files/re2-$pkgver.tgz)
+sha1sums=('f30dda8e530921b623c32aa58a5dabbe9157f6ca')
+
+build() {
+  cd re2
+  LDFLAGS+=" -pthread"
+  make prefix=/usr
+}
+
+check() {
+  cd re2
+  LDFLAGS+=" -pthread"
+  make prefix=/usr test
+}
+
+package() {
+  cd re2
+  make prefix=/usr DESTDIR="$pkgdir" install
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list