# Maintainer: Juhani Numminen pkgname=pentobi pkgver=16.2 pkgrel=1 pkgdesc="computer opponent for the board game Blokus" arch=('x86_64') url="https://pentobi.sourceforge.io" license=('GPL3') depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-webview') makedepends=('cmake' 'extra-cmake-modules' 'kio' 'qt5-tools') optdepends=('kio: KDE thumbnailer') source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc}) md5sums=('93f107d0fd9878a8f716f89046796b8e' 'SKIP') validpgpkeys=('CF7C1AEE933D1A03C6D13FF922922BFEEB0F9942') # Markus Enzenberger prepare() { mkdir -p build } build() { cd build cmake "../${pkgname}-${pkgver}" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ -DPENTOBI_BUILD_KDE_THUMBNAILER=ON \ -DPENTOBI_BUILD_TESTS=ON make VERBOSE=1 } check() { cd build make test } package() { cd build make DESTDIR="${pkgdir}/" install }