aboutsummaryrefslogtreecommitdiffstats
path: root/community/latte-dock/APKBUILD
blob: ecb3dc2e346c7e298f62bed39fa669f7999b01f5 (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
32
33
34
35
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=latte-dock
pkgver=0.9.3
pkgrel=0
arch="all"
url="https://store.kde.org/p/1169519/"
pkgdesc="A dock based on Plasma Frameworks"
license="LGPL-2.0-or-later AND GPL-2.0-or-later"
depends="kactivities"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev libksysguard-dev
	kactivities-dev karchive-dev kcoreaddons-dev kguiaddons-dev kcrash-dev
	kdbusaddons-dev kdeclarative-dev kglobalaccel-dev ki18n-dev kiconthemes-dev
	knewstuff-dev knotifications-dev plasma-framework-dev kwayland-dev
	kwindowsystem-dev kxmlgui-dev xcb-util-dev plasma-desktop-dev"
source="https://download.kde.org/stable/latte-dock/latte-dock-$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="6e9bc41fc6fb2286ea242498771c30da1158dc968809f6685ee8c55191cec2e09a3f78dcb43255a33967e1750855e92e773ebb0eb83829067dd3b6b81ad5e79c  latte-dock-0.9.3.tar.xz"