void-packages/srcpkgs/libXfont/template

28 lines
735 B
Bash

# Template build file for 'libXfont'.
pkgname=libXfont
version=1.5.4
revision=2
hostmakedepends="pkg-config"
makedepends="xorgproto xtrans freetype-devel libfontenc-devel"
build_style=gnu-configure
short_desc="X font Library"
maintainer="Orphaned <orphan@voidlinux.org>"
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"
}
}