1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Maintainer: David Runge <dvzrv@archlinux.org>
3 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
4 # Contributor: kastor <kastor@fobos.org.ar>
10 pkgdesc='Portable Open Source UPnP Development Kit'
12 url="https://pupnp.sourceforge.io/"
20 source=(https://github.com/$_name/$_name/archive/release-$pkgver/$_name-release-$pkgver.tar.gz)
21 sha512sums=('d9af7231687bb694961822a9d3b1e9b04e52142f0245729902b240564579903858e01a5cfe53ff7a8fa77e44e36b840f0c355d2c79aaf0ced2498b4b1822ed6b')
22 b2sums=('8bb38dbdff59cf4fd6c222cf1000ecc195f8d33601d8c06476b0a238d6969fe695bcb52f721e4d88a95fa63ef568881e1628935c3b5ba063b72a3b3ee27ded8b')
27 -D CMAKE_BUILD_TYPE=None
28 -D CMAKE_INSTALL_PREFIX=/usr
29 -D UPNP_BUILD_STATIC=OFF
30 -D blocking_tcp_connections=OFF
32 -S $_name-release-$pkgver
36 cmake "${cmake_options[@]}"
37 cmake --build build --verbose
41 ctest --test-dir build --output-on-failure
45 DESTDIR="$pkgdir" cmake --install build
46 install -vDm 644 $_name-release-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
47 install -vDm 644 $_name-release-$pkgver/{ChangeLog,README.md} -t "$pkgdir/usr/share/doc/$pkgname"