[arch-commits] Commit in protobuf/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Wed Feb 19 17:18:44 UTC 2020


    Date: Wednesday, February 19, 2020 @ 17:18:43
  Author: lfleischer
Revision: 375877

archrelease: copy trunk to extra-x86_64

Added:
  protobuf/repos/extra-x86_64/PKGBUILD
    (from rev 375876, protobuf/trunk/PKGBUILD)
Deleted:
  protobuf/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  146 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-19 17:18:31 UTC (rev 375876)
+++ PKGBUILD	2020-02-19 17:18:43 UTC (rev 375877)
@@ -1,73 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: David Runge <dvzrv 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' 'python-protobuf')
-pkgver=3.11.3
-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' 'glibc' 'zlib')
-makedepends=('unzip' 'python-setuptools')
-source=("https://github.com/protocolbuffers/$pkgname/releases/download/v$pkgver/$pkgname-all-$pkgver.tar.gz")
-sha512sums=('58e005f77b1f8beaba4a2e3d4d1e373907565ef18135fe4168232f0e206e36d9cd3e66c08b076751fcaa4409a8a6aa878b42f3c2981b2681ae16a63e43c53971')
-
-prepare() {
-  cd "$pkgbase-$pkgver"
-  autoreconf -vfi
-}
-
-build() {
-  cd "$pkgbase-$pkgver"
-  ./configure --prefix=/usr
-  make
-  cd python
-  python setup.py build --cpp_implementation
-}
-
-check() {
-  cd "$pkgbase-$pkgver"
-  make check
-
-  cd python
-  python setup.py test
-}
-
-package_protobuf() {
-  replaces=('protobuf-cpp')
-  provides=('libprotoc.so' 'libprotobuf.so' 'libprotobuf-lite.so')
-
-  cd "$pkgbase-$pkgver"
-  make DESTDIR="$pkgdir" install
-
-  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-  install -vDm 644 editors/protobuf-mode.el \
-    -t "$pkgdir/usr/share/emacs/site-lisp/"
-  install -vDm 644 editors/proto.vim \
-    -t "${pkgdir}/usr/share/vim/vimfiles/syntax"
-}
-
-package_python-protobuf() {
-  pkgdesc='Python 3 bindings for Google Protocol Buffers'
-  depends=('python' 'python-six' "protobuf=$pkgver")
-
-  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-  cd "$pkgbase-$pkgver"
-  (
-    cd python
-    PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}:PYTHONPATH" \
-    python setup.py install --skip-build \
-                            --cpp_implementation \
-                            --optimize=1 \
-                            --root="$pkgdir"
-  )
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: protobuf/repos/extra-x86_64/PKGBUILD (from rev 375876, protobuf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-19 17:18:43 UTC (rev 375877)
@@ -0,0 +1,73 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: David Runge <dvzrv 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' 'python-protobuf')
+pkgver=3.11.4
+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' 'glibc' 'zlib')
+makedepends=('unzip' 'python-setuptools')
+source=("https://github.com/protocolbuffers/$pkgname/releases/download/v$pkgver/$pkgname-all-$pkgver.tar.gz")
+sha512sums=('d0fa36bb4c412dbe41f11c371aba84eb7fd8b751ee1528c75f55b0c141178d7854c2018d4d4433f1484ac1a4a63ff2be5630826aea4c3b8813dab628229da832')
+
+prepare() {
+  cd "$pkgbase-$pkgver"
+  autoreconf -vfi
+}
+
+build() {
+  cd "$pkgbase-$pkgver"
+  ./configure --prefix=/usr
+  make
+  cd python
+  python setup.py build --cpp_implementation
+}
+
+check() {
+  cd "$pkgbase-$pkgver"
+  make check
+
+  cd python
+  python setup.py test
+}
+
+package_protobuf() {
+  replaces=('protobuf-cpp')
+  provides=('libprotoc.so' 'libprotobuf.so' 'libprotobuf-lite.so')
+
+  cd "$pkgbase-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -vDm 644 editors/protobuf-mode.el \
+    -t "$pkgdir/usr/share/emacs/site-lisp/"
+  install -vDm 644 editors/proto.vim \
+    -t "${pkgdir}/usr/share/vim/vimfiles/syntax"
+}
+
+package_python-protobuf() {
+  pkgdesc='Python 3 bindings for Google Protocol Buffers'
+  depends=('python' 'python-six' "protobuf=$pkgver")
+
+  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  cd "$pkgbase-$pkgver"
+  (
+    cd python
+    PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}:PYTHONPATH" \
+    python setup.py install --skip-build \
+                            --cpp_implementation \
+                            --optimize=1 \
+                            --root="$pkgdir"
+  )
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list