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

17 lines
652 B
Bash

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