# Contributor: Bhushan Shah <bshah@kde.org>
# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=kwayland-integration
pkgver=5.15.1
pkgrel=0
pkgdesc="KWayland integration"
url="https://www.kde.org/workspaces/plasmadesktop/"
arch="all"
license="GPL-2.0"
depends="kwayland kglobalaccel kidletime"
makedepends="cmake extra-cmake-modules kwayland-dev kwindowsystem-dev kidletime-dev"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
options="!check" # there are no tests

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

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

sha512sums="8d22d0a66efe792f2bb47a74630b09c317581bf38652c10a7aec8f4dc2c29ef9d24d6c198c813659b496fb2b7f9340e4adbd7fa34313946de618c537e506de7f  kwayland-integration-5.15.1.tar.xz"
