aboutsummaryrefslogblamecommitdiffstats
path: root/community/kdiamond/APKBUILD
blob: be9368b04762b38e4c476082ed18e3d4266340d4 (plain) (tree)
1
2
3
4
5
6
7


                                                  
              

                                     
                                                                       


















                                                                                                                                                                                                                                      
                                                                                                                                                                      
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdiamond
pkgver=20.12.2
pkgrel=0
pkgdesc="A single player puzzle game"
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/games/kdiamond/"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kconfig-dev kcrash-dev kdbusaddons-dev kdoctools-dev kwidgetsaddons-dev ki18n-dev kconfigwidgets-dev kxmlgui-dev knotifications-dev knotifyconfig-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdiamond-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="d18373909e27130a7af469b0f1af9bffcfc501ede18d4e6f124f8927cb0e2e6ca48c63ac9a2a5a6e223c9d3da6c0fb4186e8b9dc12cf9173c1a2e0b8ffac86ba  kdiamond-20.12.2.tar.xz"