1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Dave Reisner <dreisner@archlinux.org>
3 # Contributor: Matthias Blaicher <matthias@blaicher.com>
4 # Contributor: Severen Redwood <severen@shrike.me>
9 pkgdesc="Cap'n Proto serialization/RPC system"
11 url="https://capnproto.org/"
32 source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz)
33 sha512sums=('6179a202399f4391014827799c954e0b3ad811ab82ebd0addc01d8c7695b9c1a9c0a0c26b018cd392e3731e12b30cca58545459d1b3a140e86e34b75d7eacbc7')
34 b2sums=('3a893b766302a96df71763613fa1624f6b7229b8926099d1d9c217f4a1817db16aa24d3bec7950e480da6b027bd9b6b0b5a4083e982e7bda8fc6594794fd379a')
39 -D BUILD_SHARED_LIBS=ON
40 -D CMAKE_BUILD_TYPE=None
41 -D CMAKE_INSTALL_PREFIX=/usr
46 cmake "${cmake_options[@]}"
47 cmake --build build --verbose
51 DESTDIR="$pkgdir" cmake --install build
52 install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
53 install -vDm 644 $pkgname-$pkgver/{CONTRIBUTORS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
55 # vim:set ts=2 sw=2 et: