aboutsummaryrefslogtreecommitdiffstats
path: root/community/kfourinline/APKBUILD
blob: 4e926a9189c34ddd645ef678d543952b4eb04d3c (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=kfourinline
pkgver=20.12.1
pkgrel=0
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/games/kfourinline/"
pkgdesc="A four-in-a-row game"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdnssd-dev kdoctools-dev ki18n-dev kwidgetsaddons-dev kxmlgui-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kfourinline-$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="a8b054fc4411c8f9b4f9626e0eb76c9da61c11079ffadf886dfce9a8040df9e00420e98c37a10cf06ea9ad4d24b2c94c0db7c3060c42d55e6d329698c67b2ff0  kfourinline-20.12.1.tar.xz"