void-packages/srcpkgs/libXcursor/template

30 lines
790 B
Bash

# Template build file for 'libXcursor'.
pkgname=libXcursor
version=1.1.15
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="fixesproto libXfixes-devel libXrender-devel"
short_desc="Client-side cursor loading library for X"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/wiki/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=294e670dd37cd23995e69aae626629d4a2dfe5708851bbc13d032401b7a3df6b
post_install() {
vlicense COPYING
}
libXcursor-devel_package() {
depends="xproto 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
}
}