Date: Thursday, December 15, 2022 @ 07:11:22
  Author: arojas
Revision: 464349

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |  156 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 78 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-15 07:11:12 UTC (rev 464348)
+++ PKGBUILD    2022-12-15 07:11:22 UTC (rev 464349)
@@ -1,78 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org>
-# Contributor: David Runge <dv...@archlinux.org>
-# Contributor: Aleksey Filippov <sarum...@gmail.com>
-# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
-# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com>
-# Contributor: Thomas S Hatch <thatc...@gmail.com>
-# Contributor: Geoffroy Carrier <geoff...@archlinux.org>
-# Contributor: Daniel J Griffiths <ghost1...@archlinux.us>
-
-pkgbase='protobuf'
-pkgname=('protobuf' 'python-protobuf')
-pkgver=21.11
-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=('python-setuptools' 'cmake' 'gtest')
-source=(https://github.com/protocolbuffers/protobuf/archive/v$pkgver/$pkgname-$pkgver.tar.gz
-        https://github.com/protocolbuffers/protobuf/commit/101b6199.patch)
-sha512sums=('52d844376c44c66c659ff947d52a803e38045edad29eb46b90ff00fec583e31f2bb38e9f7b23f1d3719669dcb2a954d634bfe08184af148f2213174884179d93'
-            
'63a56d6ba2bd452ef5380eca4ec5e294a395a6dae95fbe3ae28ee6bceb601450e234a2052b1df010c9cea008b8d03176ffd08fa62a66bf5e7af64c9829e788c8')
-
-prepare() {
-  patch -d $pkgbase-$pkgver -Rp1 < 101b6199.patch # Revert ABI break
-}
-
-build() {
-  cmake -B build -S $pkgbase-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -Dprotobuf_USE_EXTERNAL_GTEST=ON \
-    -Dprotobuf_BUILD_SHARED_LIBS=ON
-  cmake --build build
-
-  ln -rs build $pkgbase-$pkgver/src/.libs
-  cd $pkgbase-$pkgver/python
-  PROTOC="$srcdir"/build/protoc \
-  python setup.py build --cpp_implementation
-}
-
-check() {
-  cmake --build build --target check
-
-  cd $pkgbase-$pkgver/python
-  python setup.py test
-}
-
-package_protobuf() {
-  replaces=('protobuf-cpp')
-  provides=('libprotoc.so' 'libprotobuf.so' 'libprotobuf-lite.so')
-
-  DESTDIR="$pkgdir" cmake --install build
-
-  cd $pkgbase-$pkgver
-  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 464348, 
protobuf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-15 07:11:22 UTC (rev 464349)
@@ -0,0 +1,78 @@
+# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org>
+# Contributor: David Runge <dv...@archlinux.org>
+# Contributor: Aleksey Filippov <sarum...@gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
+# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com>
+# Contributor: Thomas S Hatch <thatc...@gmail.com>
+# Contributor: Geoffroy Carrier <geoff...@archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1...@archlinux.us>
+
+pkgbase='protobuf'
+pkgname=('protobuf' 'python-protobuf')
+pkgver=21.12
+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=('python-setuptools' 'cmake' 'gtest')
+source=(https://github.com/protocolbuffers/protobuf/archive/v$pkgver/$pkgname-$pkgver.tar.gz
+        https://github.com/protocolbuffers/protobuf/commit/101b6199.patch)
+sha512sums=('2dc8f552388438268d8b9f7a9e84c6abf1736be3d5031438c789c317410c9f4b5cedd25bf7da6d67b3ba32ca890869f9ddaab2284d6ac0e734a5b135ffbb1346'
+            
'63a56d6ba2bd452ef5380eca4ec5e294a395a6dae95fbe3ae28ee6bceb601450e234a2052b1df010c9cea008b8d03176ffd08fa62a66bf5e7af64c9829e788c8')
+
+prepare() {
+  patch -d $pkgbase-$pkgver -Rp1 < 101b6199.patch # Revert ABI break
+}
+
+build() {
+  cmake -B build -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -Dprotobuf_USE_EXTERNAL_GTEST=ON \
+    -Dprotobuf_BUILD_SHARED_LIBS=ON
+  cmake --build build
+
+  ln -rs build $pkgbase-$pkgver/src/.libs
+  cd $pkgbase-$pkgver/python
+  PROTOC="$srcdir"/build/protoc \
+  python setup.py build --cpp_implementation
+}
+
+check() {
+  cmake --build build --target check
+
+  cd $pkgbase-$pkgver/python
+  python setup.py test
+}
+
+package_protobuf() {
+  replaces=('protobuf-cpp')
+  provides=('libprotoc.so' 'libprotobuf.so' 'libprotobuf-lite.so')
+
+  DESTDIR="$pkgdir" cmake --install build
+
+  cd $pkgbase-$pkgver
+  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}"
+}

Reply via email to