blob: 7dcdee09fc1ac855326274cdb2d7bb312479dcda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/mkpkg
# description: Memory efficient serialization library
# url: https://google.github.io/flatbuffers/
name=flatbuffers
version=25.12.19
release=1
source=(https://github.com/google/flatbuffers/archive/v$version/$name-$version.tar.gz)
sha256sums=(
"f81c3162b1046fe8b84b9a0dbdd383e24fdbcf88583b9cb6028f90d04d90696a"
)
build() {
cmake -B build -S $name-$version \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DFLATBUFFERS_BUILD_TESTS=OFF \
-DFLATBUFFERS_BUILD_SHAREDLIB=ON
cmake --build build
DESTDIR=$PKG cmake --install build
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|