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

Lukas Fleischer lfleischer at archlinux.org
Thu Oct 3 16:20:28 UTC 2019


    Date: Thursday, October 3, 2019 @ 16:20:28
  Author: lfleischer
Revision: 363701

upgpkg: protobuf 3.9.2-1

Upstream update.

Modified:
  protobuf/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++---------------------------
 1 file changed, 3 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-03 15:33:43 UTC (rev 363700)
+++ PKGBUILD	2019-10-03 16:20:28 UTC (rev 363701)
@@ -8,8 +8,7 @@
 
 pkgbase='protobuf'
 pkgname=('protobuf' 'python2-protobuf' 'python-protobuf')
-pkgver=3.7.0
-_gtestver=1.8.0
+pkgver=3.9.2
 pkgrel=1
 pkgdesc="Protocol Buffers - Google's data interchange format"
 arch=('x86_64')
@@ -17,35 +16,12 @@
 license=('BSD')
 depends=('gcc-libs' 'zlib')
 makedepends=('unzip' 'python-setuptools' 'python2-setuptools')
-source=("$pkgbase-$pkgver.tgz::https://github.com/google/${pkgbase}/archive/v${pkgver}.tar.gz"
-        "gtest-${_gtestver}.tar.gz::https://github.com/google/googletest/archive/release-${_gtestver}.tar.gz")
-md5sums=('99ab003ca0e98c9dc40edbd60dd43633'
-         '16877098823401d1bf2ed7891d7dce36')
+source=("https://github.com/protocolbuffers/$pkgname/releases/download/v$pkgver/$pkgname-all-$pkgver.tar.gz")
+md5sums=('f0ce2dbffc9cb5df36ac171b23686c21')
 
-prepare() {
-  cd "$pkgbase-$pkgver"
-
-  cp -r "$srcdir/googletest-release-${_gtestver}/googletest" third_party/googletest/googletest
-  cp -r "$srcdir/googletest-release-${_gtestver}/googlemock" third_party/googletest/googlemock
-
-  sed -r 's|/usr/bin/env python|/usr/bin/env python2|' -i third_party/googletest/googletest/scripts/*.py
-}
-
 build() {
   cd "$srcdir/$pkgbase-$pkgver"
   ./autogen.sh
-
-  cd "$srcdir/$pkgbase-$pkgver/third_party/googletest/googletest"
-  autoreconf -fiv
-  ./configure
-  make
-
-  cd "$srcdir/$pkgbase-$pkgver/third_party/googletest/googlemock"
-  autoreconf -fiv
-  ./configure
-  make
-
-  cd "$srcdir/$pkgbase-$pkgver"
   ./configure --prefix=/usr
   make
 }



More information about the arch-commits mailing list