summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 57a1b8ea1ea955ef2b801d726e8033c60b88f99d (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
33
34
35
# Maintainer: Braden Pellett (daBrado) <aurcontact@dabrado.net>
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Kristoffer Fossgård <kfs1@online.no>

_pkgname=terminus-font
pkgname=${_pkgname}-ll2
pkgver=4.47
pkgrel=1
pkgdesc='A superb, monospace bitmap font (for X11 and console) with ll2 patch (pass the il1I test)'
arch=(any)
url=http://sourceforge.net/projects/terminus-font/
license=(GPL2 custom:OFL)
depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
conflicts=(terminus-font)
provides=(terminus-font)
install=terminus-font.install
source=(http://downloads.sourceforge.net/project/${_pkgname}/${_pkgname}-${pkgver}/${_pkgname}-${pkgver}.tar.gz)
md5sums=('d95f0914e31b838bd54edf8389fdc6cd')

build() { 
  cd "${srcdir}/${_pkgname}-${pkgver}"
  patch < alt/ll2.diff
  ./configure --prefix=/usr --x11dir=/usr/share/fonts/misc --psfdir=/usr/share/kbd/consolefonts
  make
}

package()
{
  cd "${srcdir}/${_pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 75-yes-terminus.conf "${pkgdir}/etc/fonts/conf.avail/75-yes-terminus.conf"
  install -dm755 "${pkgdir}/etc/fonts/conf.d"
  ln -sf -t "${pkgdir}/etc/fonts/conf.d" ../conf.avail/75-yes-terminus.conf
  install -Dm644 OFL.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}