void-packages/srcpkgs/libXfontcache/template

25 lines
766 B
Bash

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