# $Id: PKGBUILD 68042 2012-03-17 11:38:36Z giovanni $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Contributor: Kristoffer Fossgård <kfs1@online.no> pkgname=terminus-font pkgver=4.36 pkgrel=2 pkgdesc="A superb, monospace bitmap font (for X11 and console)" arch=('any') url="http://sourceforge.net/projects/terminus-font/" license=('GPL2' 'custom:OFL') depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') replaces=('xserver-terminus-fonts') install=terminus-font.install source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz") md5sums=('de925a7ee7351581033d4b615dcb1eb1') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --x11dir=/usr/share/fonts/local \ --psfdir=/usr/share/kbd/consolefonts } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 "${srcdir}/${pkgname}-${pkgver}/OFL.TXT" \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }