aboutsummaryrefslogblamecommitdiffstats
path: root/community/kolf/APKBUILD
blob: 63965e614f5e96544f1b2bd22a17132d80760352 (plain) (tree)
1
2
3
4
5
6
7


                                                  
              

                                                     
                                                                       


















                                                                                                                                                                                                                                          
                                                                                                                                                                  
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kolf
pkgver=20.12.1
pkgrel=0
pkgdesc="A miniature golf game with 2d top-down view"
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/games/kolf/"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kio-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kolf-$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="d90c3e3ce9f617d33ef597283ee0d6c5771dca780e631708b3c50a742f3f0bedbf73bfecefac9eec6a67da528d8415e4b5cdd9c598312a7e2fbf3e0640c55b08  kolf-20.12.1.tar.xz"