void-packages/srcpkgs/libfontenc/template

30 lines
778 B
Bash

# Template build file for 'libfontenc'.
pkgname=libfontenc
version=1.1.3
revision=2
build_style=gnu-configure
configure_args="--with-fontrootdir=/usr/share/fonts/X11"
hostmakedepends="pkg-config"
makedepends="xorgproto 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=70588930e6fc9542ff38e0884778fbc6e6febf21adbab92fd8f524fe60aefd21
post_install() {
vlicense COPYING
}
libfontenc-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}