[arch-commits] Commit in flatbuffers/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Apr 24 19:05:22 UTC 2019
Date: Wednesday, April 24, 2019 @ 19:05:21
Author: arojas
Revision: 453416
archrelease: copy trunk to community-x86_64
Added:
flatbuffers/repos/community-x86_64/PKGBUILD
(from rev 453415, flatbuffers/trunk/PKGBUILD)
Deleted:
flatbuffers/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-24 19:05:01 UTC (rev 453415)
+++ PKGBUILD 2019-04-24 19:05:21 UTC (rev 453416)
@@ -1,40 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
-
-pkgname=flatbuffers
-pkgver=1.10.0
-pkgrel=1
-pkgdesc='An efficient cross platform serialization library for C++, with support for Java, C# and Go'
-arch=(x86_64)
-url='http://google.github.io/flatbuffers/'
-license=(Apache)
-depends=(gcc-libs)
-makedepends=(cmake)
-source=($pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/v$pkgver.tar.gz)
-sha256sums=('3714e3db8c51e43028e10ad7adffb9a36fc4aa5b1a363c2d0c4303dd1be59a7c')
-
-prepare() {
- mkdir -p build
- sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname-$pkgver/CMakeLists.txt
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DFLATBUFFERS_BUILD_FLATLIB=OFF \
- -DFLATBUFFERS_BUILD_SHAREDLIB=ON
- make
-}
-
-check() {
- cd build
- make test
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
- install -Dm755 flatc -t "$pkgdir"/usr/bin
-}
Copied: flatbuffers/repos/community-x86_64/PKGBUILD (from rev 453415, flatbuffers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-24 19:05:21 UTC (rev 453416)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
+
+pkgname=flatbuffers
+pkgver=1.11.0
+pkgrel=1
+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)
+source=($pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('3f4a286642094f45b1b77228656fbd7ea123964f19502f9ecfd29933fd23a50b')
+
+prepare() {
+ mkdir -p build
+ sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname-$pkgver/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DFLATBUFFERS_BUILD_FLATLIB=OFF \
+ -DFLATBUFFERS_BUILD_SHAREDLIB=ON
+ make
+}
+
+check() {
+ cd build
+ make test
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -Dm755 flatc -t "$pkgdir"/usr/bin
+}
More information about the arch-commits
mailing list