aboutsummaryrefslogtreecommitdiffstats
path: root/community/kiriki/APKBUILD
blob: d82d2b4a27f5d9a6d6ef88ae81c28c632c2d9feb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kiriki
pkgver=20.12.2
pkgrel=0
pkgdesc="An addictive and fun dice game"
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/games/kiriki/"
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 ki18n-dev kconfigwidgets-dev kiconthemes-dev kxmlgui-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kiriki-$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="c0e70b3e9a050444008d02fb2fbe61533c6cf16453887f5c8832779b2e8938180dd96ef88517403b6a4501c00662550d43bda8aa9ec6da51362dfe0b03dfa85d  kiriki-20.12.2.tar.xz"