[arch-commits] Commit in protobuf/repos (3 files)
Lukas Fleischer
lfleischer at archlinux.org
Sun Oct 27 18:51:51 UTC 2019
Date: Sunday, October 27, 2019 @ 18:51:51
Author: lfleischer
Revision: 365946
db-move: moved protobuf from [testing] to [extra] (x86_64)
Added:
protobuf/repos/extra-x86_64/PKGBUILD
(from rev 365945, protobuf/repos/testing-x86_64/PKGBUILD)
Deleted:
protobuf/repos/extra-x86_64/PKGBUILD
protobuf/repos/testing-x86_64/
-----------------------+
/PKGBUILD | 63 ++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 87 ------------------------------------------------
2 files changed, 63 insertions(+), 87 deletions(-)
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2019-10-27 18:51:45 UTC (rev 365945)
+++ extra-x86_64/PKGBUILD 2019-10-27 18:51:51 UTC (rev 365946)
@@ -1,87 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Aleksey Filippov <sarum9in at gmail.com>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgbase='protobuf'
-pkgname=('protobuf' 'python2-protobuf' 'python-protobuf')
-pkgver=3.7.0
-_gtestver=1.8.0
-pkgrel=1
-pkgdesc="Protocol Buffers - Google's data interchange format"
-arch=('x86_64')
-url='https://developers.google.com/protocol-buffers/'
-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')
-
-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
-}
-
-check() {
- make -C "$srcdir/$pkgbase-$pkgver" check
-}
-
-package_protobuf() {
- replaces=('protobuf-cpp')
-
- cd "$srcdir/$pkgbase-$pkgver"
- make DESTDIR="$pkgdir" install
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 editors/protobuf-mode.el "$pkgdir"/usr/share/emacs/site-lisp/protobuf-mode.el
-}
-
-package_python2-protobuf() {
- pkgdesc='Python 2 bindings for Google Protocol Buffers'
- depends=('python2' 'python2-six' "protobuf=$pkgver")
-
- cd "$srcdir/$pkgbase-$pkgver/python"
- python2 setup.py install --root="$pkgdir" --cpp_implementation
-
- install -d "$pkgdir/usr/share/licenses/$pkgname"
- ln -s "/usr/share/licenses/$pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
-}
-
-package_python-protobuf() {
- pkgdesc='Python 3 bindings for Google Protocol Buffers'
- depends=('python' 'python-six' "protobuf=$pkgver")
-
- cd "$srcdir/$pkgbase-$pkgver/python"
- python3 setup.py install --root="$pkgdir" --cpp_implementation
-
- install -d "$pkgdir/usr/share/licenses/$pkgname"
- ln -s "/usr/share/licenses/$pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
-}
Copied: protobuf/repos/extra-x86_64/PKGBUILD (from rev 365945, protobuf/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2019-10-27 18:51:51 UTC (rev 365946)
@@ -0,0 +1,63 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Aleksey Filippov <sarum9in at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgbase='protobuf'
+pkgname=('protobuf' 'python2-protobuf' 'python-protobuf')
+pkgver=3.10.0
+pkgrel=1
+pkgdesc="Protocol Buffers - Google's data interchange format"
+arch=('x86_64')
+url='https://developers.google.com/protocol-buffers/'
+license=('BSD')
+depends=('gcc-libs' 'zlib')
+makedepends=('unzip' 'python-setuptools' 'python2-setuptools')
+source=("https://github.com/protocolbuffers/$pkgname/releases/download/v$pkgver/$pkgname-all-$pkgver.tar.gz")
+md5sums=('7ec0c87d5abd0d8111ad55958f3dacee')
+
+build() {
+ cd "$srcdir/$pkgbase-$pkgver"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ make -C "$srcdir/$pkgbase-$pkgver" check
+}
+
+package_protobuf() {
+ replaces=('protobuf-cpp')
+
+ cd "$srcdir/$pkgbase-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 editors/protobuf-mode.el "$pkgdir"/usr/share/emacs/site-lisp/protobuf-mode.el
+}
+
+package_python2-protobuf() {
+ pkgdesc='Python 2 bindings for Google Protocol Buffers'
+ depends=('python2' 'python2-six' "protobuf=$pkgver")
+
+ cd "$srcdir/$pkgbase-$pkgver/python"
+ python2 setup.py install --root="$pkgdir" --cpp_implementation
+
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ ln -s "/usr/share/licenses/$pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+}
+
+package_python-protobuf() {
+ pkgdesc='Python 3 bindings for Google Protocol Buffers'
+ depends=('python' 'python-six' "protobuf=$pkgver")
+
+ cd "$srcdir/$pkgbase-$pkgver/python"
+ python3 setup.py install --root="$pkgdir" --cpp_implementation
+
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ ln -s "/usr/share/licenses/$pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+}
More information about the arch-commits
mailing list