void-packages/srcpkgs/libXfont2/template

29 lines
733 B
Bash

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