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

18 lines
661 B
Bash

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