void-packages/srcpkgs/libXcursor/template
Jami Kettunen a15da9a3a7 libXcursor: make -devel subpackage depend on libXrender-devel
See Requires.private of /usr/lib/pkgconfig/xcursor.pc
2023-01-19 19:16:14 -06:00

29 lines
794 B
Bash

# Template file for 'libXcursor'
pkgname=libXcursor
version=1.2.1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXfixes-devel libXrender-devel"
short_desc="Client-side cursor loading library for X"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/xorg/lib/libxcursor"
distfiles="${XORG_SITE}/lib/libXcursor-${version}.tar.xz"
checksum=46c143731610bafd2070159a844571b287ac26192537d047a39df06155492104
post_install() {
vlicense COPYING
}
libXcursor-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}