void-packages/srcpkgs/libXcursor/template

30 lines
805 B
Bash

# Template file for 'libXcursor'
pkgname=libXcursor
version=1.2.1
revision=1
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="xorgproto libXfixes-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}