summaryrefslogtreecommitdiff
path: root/pcr/gohufont/PKGBUILD
blob: 5a526b6207bd941e0dc35048be70b0ee0fa8c772 (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
# Maintainer (AUR): Hugo Chargois <hugo dot chargois at free dot fr>

# parabola changes and rationale:
#  - added .install file to update fonts cache

pkgname=gohufont
pkgver=2.1
pkgrel=1
pkgdesc='A bitmap font for programming and terminal use, in two sizes'
arch=(any)
url=http://font.gohu.org/
license=(custom:WTFPL)
depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
install=$pkgname.install
source=(http://font.gohu.org/$pkgname-$pkgver.tar.gz)
md5sums=('154921c092ac5a4e1806e04d84d6707d')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  _fonts="$pkgdir/usr/share/fonts/misc"
  install -Dm644 gohufont-11b.pcf.gz "$_fonts/gohufont-11b.pcf.gz"
  install -Dm644 gohufont-11.pcf.gz "$_fonts/gohufont-11.pcf.gz"
  install -Dm644 gohufont-uni-11b.pcf.gz "$_fonts/gohufont-uni-11b.pcf.gz"
  install -Dm644 gohufont-uni-11.pcf.gz "$_fonts/gohufont-uni-11.pcf.gz"
  install -Dm644 gohufont-14b.pcf.gz "$_fonts/gohufont-14b.pcf.gz"
  install -Dm644 gohufont-14.pcf.gz "$_fonts/gohufont-14.pcf.gz"
  install -Dm644 gohufont-uni-14b.pcf.gz "$_fonts/gohufont-uni-14b.pcf.gz"
  install -Dm644 gohufont-uni-14.pcf.gz "$_fonts/gohufont-uni-14.pcf.gz"
  install -Dm644 COPYING-LICENSE "$pkgdir/usr/share/licenses/$pkgname/COPYING-LICENSE"
}