void-packages/srcpkgs/libfontenc/template

26 lines
740 B
Bash

# Template build file for 'libfontenc'.
pkgname=libfontenc
version=1.1.2
revision=2
build_style=gnu-configure
configure_args="--with-fontrootdir=/usr/share/fonts/X11"
hostmakedepends="pkg-config"
makedepends="xproto zlib-devel"
short_desc="The fontenc Library from X.org"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=a9a4efed3359b2e80161bb66b65038fac145137fa134e71335264cbc23b02f62
libfontenc-devel_package() {
depends="xproto zlib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}