aboutsummaryrefslogtreecommitdiffstats
path: root/community/kwrited/APKBUILD
blob: edf7e227839239f77772b6c208f4dee66dfdcc1f (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
31
32
33
34
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kwrited
pkgver=5.17.1
pkgrel=0
pkgdesc="KDE daemon listening for wall and write messages"
arch="all"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev ki18n-dev kpty-dev knotifications-dev kdbusaddons-dev"
source="https://download.kde.org/stable/plasma/$pkgver/kwrited-$pkgver.tar.xz"
options="!check" # No tests available

prepare() {
	default_prepare

	mkdir "$builddir"/build
}

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

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" make install
}

sha512sums="8a40e6b114e1dd3d0af0bb777e23f6a15b546da0e5ce77a7f1616a61c1d3bab21bc6dce55fa3ea8630492488050c4e4feace4ce158395e4bfb77982a431fe7fc  kwrited-5.17.1.tar.xz"