void-packages/srcpkgs/libXfontcache/template

30 lines
788 B
Bash

# Template build file for 'libXfontcache'.
pkgname=libXfontcache
version=1.0.5
revision=2
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel"
short_desc="X-TrueType font cache extension client library"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Orphaned <orphan@voidlinux.org>"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=0d639219549f51fa0e6b4414383f5d13e6c1638e66b3434f4626eb989ffacbce
post_install() {
vlicense COPYING
}
libXfontcache-devel_package() {
depends="xorgproto ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share
}
}