# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=waylandpp pkgver=0.2.7 pkgrel=0 arch="all" url="https://github.com/NilsBrause/waylandpp" options="!check" # No tests are run pkgdesc="Wayland C++ bindings" license="MIT AND GPL-3.0-or-later" depends_dev="pugixml-dev wayland-dev mesa-dev" makedepends="$depends_dev cmake doxygen graphviz" source="$pkgname-$pkgver.tar.gz::https://github.com/nilsbrause/waylandpp/archive/$pkgver.tar.gz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="67ec76d9bc0146472d70364c98b6b5af957c757a95d55c224ef2d9bf8b3ab15dc4f6333dca1ad803d94403be11abe7055db54d9fc708c6f5c0196f6a328a5ed2 waylandpp-0.2.7.tar.gz"