void-packages/srcpkgs/plasma-wayland-protocols/template

18 lines
681 B
Bash

# Template file for 'plasma-wayland-protocols'
pkgname=plasma-wayland-protocols
version=1.2.1
revision=1
wrksrc="$pkgname-v$version"
build_style=cmake
hostmakedepends="extra-cmake-modules"
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}-v${version}.tar.xz"
checksum=287b90903f9a7f394c75e75cb187426862eaf64a92f1be7e2ef68e99fd8cbaaa
post_install() {
vsed -e '/NOT CMAKE_SIZEOF_VOID_P STREQUAL/,+5d' \
-i ${DESTDIR}/usr/lib/cmake/PlasmaWaylandProtocols/PlasmaWaylandProtocolsConfigVersion.cmake
}