# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkmahjongg pkgver=19.08.2 pkgrel=0 arch="all" url="https://kde.org/applications/games" pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcoreaddons-dev kconfig-dev kconfigwidgets-dev kwidgetsaddons-dev kcompletion-dev ki18n-dev" source="https://download.kde.org/stable/applications/$pkgver/src/libkmahjongg-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # No tests found 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="63f2479283756e3d51caf604547565da0fd2edab3737e77faf9148290ddeeb1f0517250988d20a936cee55716acd1e01a536e4b73332685f25f3df5cc235e4e1 libkmahjongg-19.08.2.tar.xz"