summaryrefslogtreecommitdiffstats
path: root/flatbuffers/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'flatbuffers/MAKEPKG')
-rw-r--r--flatbuffers/MAKEPKG31
1 files changed, 31 insertions, 0 deletions
diff --git a/flatbuffers/MAKEPKG b/flatbuffers/MAKEPKG
new file mode 100644
index 0000000..7dcdee0
--- /dev/null
+++ b/flatbuffers/MAKEPKG
@@ -0,0 +1,31 @@
1#!/bin/mkpkg
2# description: Memory efficient serialization library
3# url: https://google.github.io/flatbuffers/
4
5name=flatbuffers
6version=25.12.19
7release=1
8source=(https://github.com/google/flatbuffers/archive/v$version/$name-$version.tar.gz)
9
10sha256sums=(
11 "f81c3162b1046fe8b84b9a0dbdd383e24fdbcf88583b9cb6028f90d04d90696a"
12)
13
14build() {
15 cmake -B build -S $name-$version \
16 -DCMAKE_INSTALL_PREFIX=/usr \
17 -DCMAKE_INSTALL_LIBDIR=lib \
18 -DCMAKE_BUILD_TYPE=Release \
19 -DFLATBUFFERS_BUILD_TESTS=OFF \
20 -DFLATBUFFERS_BUILD_SHAREDLIB=ON
21
22 cmake --build build
23 DESTDIR=$PKG cmake --install build
24}
25
26signify() {
27 untrusted comment: public key
28 RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
29}
30
31# vim: filetype=sh