1 # Maintainer: David Runge <dvzrv@archlinux.org>
6 pkgdesc="Header only C++ binary serialization library"
8 url="https://github.com/fraillt/bitsery"
10 makedepends=(cmake gtest)
11 source=($pkgname-$pkgver.tar.gz::https://github.com/fraillt/$pkgname/archive/refs/tags/v$pkgver.tar.gz)
12 sha512sums=('6edaf4d5f22d640df67813f7525c2e076a76911079e25eeb93f4302a835b26d986379d1aad6bdb98f1781af3a5d638ee02ea9c32765741ce91366b518fc4d447')
13 b2sums=('7120b79433774ea1e41efd31fc2d6820f710fed68c88cbafd36b433977d7d88ccc5abd57a19e527ad8a9b39a91a51f6bb3a9ec8e7241ab13d92833ff2e65c9d3')
16 cmake -DCMAKE_INSTALL_PREFIX=/usr \
17 -DCMAKE_BUILD_TYPE=None \
18 -DBITSERY_BUILD_TESTS=ON \
22 make VERBOSE=1 -C build
26 ctest --test-dir build/tests
30 make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
31 install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"