void-packages/srcpkgs/libXfont2/template

29 lines
733 B
Bash

# Template file for 'libXfont2'
pkgname=libXfont2
version=2.0.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto xtrans freetype-devel libfontenc-devel"
short_desc="X font 2 Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=aa7c6f211cf7215c0ab4819ed893dc98034363d7b930b844bb43603c2e10b53e
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"
}
}