void-packages/srcpkgs/terminus-font/template

27 lines
715 B
Bash

# Template file for 'terminus-font'
pkgname=terminus-font
version=4.39
revision=2
short_desc="A clean, fixed width bitmap font"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://terminus-font.sourceforge.net/"
license="OFL-1.1, GPL-2"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=3108383986b365a4b9cc08c31a4195196f6de974d2735d77f6c6efa9feb1f5bf
hostmakedepends="perl bdftopcf font-util"
depends="font-util"
noarch="yes"
font_dirs="/usr/share/fonts/X11/misc"
do_configure() {
sh ./configure --prefix=/usr --x11dir=/usr/share/fonts/X11/misc \
--psfdir=/usr/share/kbd/consolefonts
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
}