void-packages/srcpkgs/libXfont/template
2017-11-28 17:34:07 +01:00

28 lines
757 B
Bash

# Template build file for 'libXfont'.
pkgname=libXfont
version=1.5.4
revision=1
hostmakedepends="pkg-config"
makedepends="xproto xtrans fontcacheproto fontsproto freetype-devel libfontenc-devel"
build_style=gnu-configure
short_desc="X font Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=1a7f7490774c87f2052d146d1e0e64518d32e6848184a18654e8d0bb57883242
post_install() {
vlicense COPYING
}
libXfont-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}