# Template file for 'plasma-wayland-protocols'
pkgname=plasma-wayland-protocols
version=1.15.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules wayland-devel"
makedepends="wayland-devel"
short_desc="Plasma Specific Protocols for Wayland"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/libraries/plasma-wayland-protocols"
distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=e5aedfe7c0b2443aa67882b4792d08814570e00dd82f719a35c922a0993f621e

post_install() {
	vsed -e '/NOT CMAKE_SIZEOF_VOID_P STREQUAL/,+5d' \
		-i ${DESTDIR}/usr/lib/cmake/PlasmaWaylandProtocols/PlasmaWaylandProtocolsConfigVersion.cmake
}
