aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kde-gtk-config/APKBUILD
blob: f2de9eef4742182ef065e82cf3e8720fe35cf2f0 (plain)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kde-gtk-config
pkgver=5.16.2
pkgrel=0
pkgdesc="GTK2 and GTK3 Configurator for KDE"
arch="all"
url="https://cgit.kde.org/kde-gtk-config"
license="GPL-2.0 AND LGPL-2.1-only OR LGPL-3.0-only"
depends="gsettings-desktop-schemas"
makedepends="extra-cmake-modules gsettings-desktop-schemas qt5-qtbase-dev qt5-qtsvg-dev ki18n-dev kio-dev kconfigwidgets-dev knewstuff-dev karchive-dev kcmutils-dev kiconthemes-dev gtk+2.0-dev gtk+3.0-dev gsettings-desktop-schemas-dev"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="5d0ba0a13ec7a3ef509141b5b34a63e63c65dd11159c8498b2b157c01e498f3538369070b9eb499a41cdf135ae10d2ca6caf16e28ab50ac981cb4dd77b09035a  kde-gtk-config-5.16.2.tar.xz"