aboutsummaryrefslogtreecommitdiffstats
path: root/community/kde-dev-scripts/APKBUILD
blob: bc9c16a3526083d88469097e5416ba8d5738d670 (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
28
29
30
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kde-dev-scripts
pkgver=20.12.2
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf !s390x"
url="https://kde.org/applications/development/"
pkgdesc="Scripts and setting files useful during development of KDE software"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
	extra-cmake-modules
	kdoctools-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kde-dev-scripts-$pkgver.tar.xz"
subpackages="$pkgname-doc"
options="!check" # No code to test

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="a6e62db0c09c054b7fc8784b885263b88806f9ffb88228d3255cc1de6421795a826cb89f575df9dbfa91f05a366a0dd2e851ba7dc9f02b4e54ba6999d2decd56  kde-dev-scripts-20.12.2.tar.xz"