summaryrefslogtreecommitdiffstats
path: root/abs/extra/terminus-font/PKGBUILD
blob: 17201d3073e6310d320ce19bd8ef5d566e4590c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $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"
}