void-packages/srcpkgs/libXfont/template
2016-09-01 11:23:17 +02:00

28 lines
753 B
Bash

# Template build file for 'libXfont'.
pkgname=libXfont
version=1.5.2
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=02945ea68da447102f3e6c2b896c1d2061fd115de99404facc2aca3ad7010d71
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"
}
}