[arch-commits] Commit in flatbuffers/repos/community-staging-x86_64 (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 15:11:55 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:11:55
  Author: foutrelis
Revision: 750965

archrelease: copy trunk to community-staging-x86_64

Added:
  flatbuffers/repos/community-staging-x86_64/PKGBUILD
    (from rev 750964, flatbuffers/trunk/PKGBUILD)
Deleted:
  flatbuffers/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:11:51 UTC (rev 750964)
+++ PKGBUILD	2020-11-11 15:11:55 UTC (rev 750965)
@@ -1,52 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
-
-pkgbase=flatbuffers
-pkgname=(flatbuffers python-flatbuffers)
-pkgver=1.12.0
-pkgrel=2
-pkgdesc='An efficient cross platform serialization library for C++, with support for Java, C# and Go'
-arch=(x86_64)
-url='https://google.github.io/flatbuffers/'
-license=(Apache)
-depends=(gcc-libs)
-makedepends=(cmake python-setuptools)
-source=($pkgbase-$pkgver.tar.gz::https://github.com/google/$pkgbase/archive/v$pkgver.tar.gz)
-sha256sums=('62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45')
-
-prepare() {
-  sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname-$pkgver/CMakeLists.txt
-}
-
-build() {
-  cd $pkgbase-$pkgver
-  cmake . \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DFLATBUFFERS_BUILD_FLATLIB=OFF \
-    -DFLATBUFFERS_BUILD_SHAREDLIB=ON
-  make
-
-# Python bindings
-  cd ../$pkgbase-$pkgver/python
-  VERSION=$pkgver python setup.py build
-}
-
-check() {
-  cd $pkgbase-$pkgver
-  make test
-  ./tests/PythonTest.sh
-}
-
-package_flatbuffers() {
-  cd $pkgbase-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -Dm755 flatc -t "$pkgdir"/usr/bin
-}
-
-package_python-flatbuffers() {
-  pkgdesc='An efficient cross platform serialization library for Python'
-  depends=(python)
-
-  cd $pkgbase-$pkgver/python
-  VERSION=$pkgver python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: flatbuffers/repos/community-staging-x86_64/PKGBUILD (from rev 750964, flatbuffers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:11:55 UTC (rev 750965)
@@ -0,0 +1,52 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
+
+pkgbase=flatbuffers
+pkgname=(flatbuffers python-flatbuffers)
+pkgver=1.12.0
+pkgrel=3
+pkgdesc='An efficient cross platform serialization library for C++, with support for Java, C# and Go'
+arch=(x86_64)
+url='https://google.github.io/flatbuffers/'
+license=(Apache)
+depends=(gcc-libs)
+makedepends=(cmake python-setuptools)
+source=($pkgbase-$pkgver.tar.gz::https://github.com/google/$pkgbase/archive/v$pkgver.tar.gz)
+sha256sums=('62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45')
+
+prepare() {
+  sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname-$pkgver/CMakeLists.txt
+}
+
+build() {
+  cd $pkgbase-$pkgver
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DFLATBUFFERS_BUILD_FLATLIB=OFF \
+    -DFLATBUFFERS_BUILD_SHAREDLIB=ON
+  make
+
+# Python bindings
+  cd ../$pkgbase-$pkgver/python
+  VERSION=$pkgver python setup.py build
+}
+
+check() {
+  cd $pkgbase-$pkgver
+  make test
+  ./tests/PythonTest.sh
+}
+
+package_flatbuffers() {
+  cd $pkgbase-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm755 flatc -t "$pkgdir"/usr/bin
+}
+
+package_python-flatbuffers() {
+  pkgdesc='An efficient cross platform serialization library for Python'
+  depends=(python)
+
+  cd $pkgbase-$pkgver/python
+  VERSION=$pkgver python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}


More information about the arch-commits mailing list