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

18 lines
652 B
Bash

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