void-packages/srcpkgs/libXfont2/template

29 lines
751 B
Bash
Raw Normal View History

2017-04-03 17:38:05 +02:00
# Template file for 'libXfont2'
pkgname=libXfont2
version=2.0.1
revision=1
hostmakedepends="pkg-config"
makedepends="xproto xtrans fontcacheproto fontsproto freetype-devel libfontenc-devel"
build_style=gnu-configure
short_desc="X font 2 Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=e9fbbb475ddd171b3a6a54b989cbade1f6f874fc35d505ebc5be426bc6e4db7e
post_install() {
vlicense COPYING
}
libXfont2-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"
}
}