[arch-commits] Commit in re2/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Dec 21 23:16:32 UTC 2015


    Date: Tuesday, December 22, 2015 @ 00:16:32
  Author: anatolik
Revision: 154070

upgpkg: re2 20151101-1

Modified:
  re2/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-21 20:07:06 UTC (rev 154069)
+++ PKGBUILD	2015-12-21 23:16:32 UTC (rev 154070)
@@ -4,30 +4,31 @@
 # Contributor: Alexandre Bique <bique.alexandre at gmail.com>
 
 pkgname=re2
-pkgver=20140304
-pkgrel=2
+_tag='2015-11-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='http://code.google.com/p/re2/'
+url='https://github.com/google/re2'
 depends=(gcc-libs)
 arch=(i686 x86_64)
 license=(BSD)
-source=(https://re2.googlecode.com/files/re2-$pkgver.tgz)
-sha1sums=('f30dda8e530921b623c32aa58a5dabbe9157f6ca')
+source=(re2-$pkgver.zip::https://github.com/google/re2/archive/$_tag.zip)
+sha1sums=('fa628ecdc07dd0b9a9c7796dc4487b6c55b43e67')
 
 build() {
-  cd re2
+  cd re2-$_tag
   LDFLAGS+=" -pthread"
   make prefix=/usr
 }
 
 check() {
-  cd re2
+  cd re2-$_tag
   LDFLAGS+=" -pthread"
   make prefix=/usr test
 }
 
 package() {
-  cd re2
+  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