summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e378c504977ce72f50021915282f8edccf4b28a (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: Jah Way <jahway603 at protonmail dot com>
# Previous Maintainer: Tun Win Naing <tunwn.mdy@gmail.com>
# Contributor: Andrew Rabert <draje@nullsum.net>

pkgname=tamzen-font
pkgver=1.11.6
pkgrel=1
pkgdesc="Bitmapped programming font, based on Tamsyn (powerline, bitmap, ttf, vconsole font)"
arch=('any')
url="https://github.com/sunaku/tamzen-font"
license=('custom')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
install=tamzen-font.install
source=("https://github.com/sunaku/tamzen-font/archive/Tamzen-${pkgver}.tar.gz")
sha256sums=('f35173177f9407bb78e48a93169f1981ae5c945d51fef6e4eeae85c1c9192577')

_srcname="tamzen-font-Tamzen-${pkgver}"

package () {
  cd "${srcdir}/${_srcname}"

  install -d "${pkgdir}/usr/share/fonts/local"
  install -m644 bdf/*.bdf "${pkgdir}/usr/share/fonts/local/"

  install -d "${pkgdir}/usr/share/fonts/TTF"
  install -m644 ttf/*.ttf "${pkgdir}/usr/share/fonts/TTF/"

  install -d "${pkgdir}/usr/share/kbd/consolefonts"
  gzip psf/*.psf
  install -m644 psf/*.psf.gz "${pkgdir}/usr/share/kbd/consolefonts/"

  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"

}