void-packages/srcpkgs/terminus-font/template

37 lines
875 B
Plaintext

# Template file for 'terminus-font'
pkgname=terminus-font
version=4.38
revision=1
short_desc="A clean, fixed width bitmap font"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://terminus-font.sourceforge.net/"
license="OFL-1.1, GPL-2"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f6f4876a4dabe6a37c270c20bb9e141e38fb50e0bba200e1b9d0470e5eed97b7
makedepends="perl bdftopcf font-util xbps-triggers>=0.58"
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
vinstall OFL.TXT 644 usr/share/licenses/${pkgname} LICENSE
}
terminus-font_package() {
depends="font-util xbps-triggers>=0.58"
noarch="yes"
font_dirs="/usr/share/fonts/X11/misc"
pkg_install() {
vmove usr
}
}