Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
flatbuffers


Commits:
01847d83 by Antonio Rojas at 2026-03-05T11:02:11+01:00
upgpkg: 25.12.19-3: Update to new tag

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,18 +1,19 @@
 pkgbase = flatbuffers
        pkgdesc = An efficient cross platform serialization library for C++, 
with support for Java, C# and Go
        pkgver = 25.12.19
-       pkgrel = 2
+       pkgrel = 3
        url = https://google.github.io/flatbuffers/
        arch = x86_64
        license = Apache
        makedepends = cmake
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-numpy
        makedepends = python-setuptools
        depends = gcc-libs
-       source = 
https://github.com/google/flatbuffers/archive/v25.12.19/flatbuffers-25.12.19.tar.gz
-       sha256sums = 
f81c3162b1046fe8b84b9a0dbdd383e24fdbcf88583b9cb6028f90d04d90696a
+       source = 
git+https://github.com/google/flatbuffers#tag=v25.12.19-2026-02-06-03fffb2
+       sha256sums = 
2efba40d9c63ad93f64c86a9d7e58f94bd70f5eb687210e5fe0d26d6eebca299
 
 pkgname = flatbuffers
 


=====================================
PKGBUILD
=====================================
@@ -6,37 +6,38 @@ pkgbase=flatbuffers
 pkgname=(flatbuffers python-flatbuffers)
 # https://github.com/google/flatbuffers/blob/master/CHANGELOG.md
 pkgver=25.12.19
-pkgrel=2
+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
+             git
              python-build
              python-installer
              python-numpy
              python-setuptools)
-source=(https://github.com/google/$pkgbase/archive/v$pkgver/$pkgbase-$pkgver.tar.gz)
-sha256sums=('f81c3162b1046fe8b84b9a0dbdd383e24fdbcf88583b9cb6028f90d04d90696a')
+source=(git+https://github.com/google/flatbuffers#tag=v$pkgver-2026-02-06-03fffb2)
+sha256sums=('2efba40d9c63ad93f64c86a9d7e58f94bd70f5eb687210e5fe0d26d6eebca299')
 
 prepare() {
-  sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname-$pkgver/CMakeLists.txt
+  sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname/CMakeLists.txt
 
-  cd $pkgbase-$pkgver
+  cd $pkgbase
   # Work-around missing out-of-source build support in Python tests
   sed -i 's#${test_dir}/../flatc#${test_dir}/../../build/flatc#' 
tests/PythonTest.sh
 }
 
 build() {
-  cmake -B build -S $pkgbase-$pkgver \
+  cmake -B build -S $pkgbase \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DFLATBUFFERS_BUILD_FLATLIB=OFF \
     -DFLATBUFFERS_BUILD_SHAREDLIB=ON
   cmake --build build
 
 # Python bindings
-  cd $pkgbase-$pkgver/python
+  cd $pkgbase/python
   VERSION=$pkgver python -m build --wheel --no-isolation
 }
 
@@ -45,7 +46,7 @@ check() {
   # https://github.com/google/flatbuffers/issues/7282
   cmake --build build --target test || true
 
-  ./$pkgbase-$pkgver/tests/PythonTest.sh
+  ./$pkgbase/tests/PythonTest.sh
 }
 
 package_flatbuffers() {
@@ -59,6 +60,6 @@ package_python-flatbuffers() {
     'python-numpy: support for Numpy arrays'
   )
 
-  cd $pkgbase-$pkgver/python
+  cd $pkgbase/python
   VERSION=$pkgver python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/flatbuffers/-/commit/01847d8387baf1f087294296c89efca91850b048

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/flatbuffers/-/commit/01847d8387baf1f087294296c89efca91850b048
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to