aboutsummaryrefslogtreecommitdiffstats
path: root/community/latte-dock/APKBUILD
blob: 26dca6fa40cd1855d7e81a3ab7fe26c0ebb11e93 (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.4
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="05b7983db75589e1c2c150167d4aca4b9a4b0025f0de7906441d9a90c69bab9efc716addc53e0262dfaeca89fbaa39d50f938535ce6b8898422e906e9f905687  latte-dock-0.9.4.tar.xz"