summaryrefslogtreecommitdiff
path: root/pcr/ttf-gentium-plus/PKGBUILD
blob: 05c47b9aacf5b2babf568078aa1e196e56ede47d (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
36
# Contributor: bill-auger <bill-auger@programmer.net>


pkgname=ttf-gentium-plus
_src_name=GentiumPlus
pkgver=5.000
pkgrel=3
pkgdesc="Fonts based on the original Gentium design with more extended Latin glyphs (Unicode 5.1), archaic Greek symbols, and full extended Cyrillic script support"
arch=('any')
url=http://software.sil.org/gentium/
license=('custom:OFL')

depends=(fontconfig xorg-fonts-encodings)
makedepends=('unzip')
source=(http://software.sil.org/downloads/r/gentium/${_src_name}-${pkgver}.zip
        http://software.sil.org/downloads/r/gentium/${_src_name}Compact-${pkgver}.zip)

sha256sums=('335911f17bd2de4e43742e1d0367cfeff19a90abf7ed604f100a42705042e154'
            '1d8a4ff03dce90f6002b008a5e37f890c409bc22e4e26561b67f3f3c40991b5c')


package()
{
  cd "${srcdir}"/${_src_name}-${pkgver}

  install -Dm644 OFL.txt         "${pkgdir}"/usr/share/licenses/${pkgname}/OFL.txt
  install -Dm644 README.txt      "${pkgdir}"/usr/share/doc/${pkgname}/README.txt
  install -m644  documentation/* "${pkgdir}"/usr/share/doc/${pkgname}/

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

  cd "${srcdir}"/${_src_name}Compact-${pkgver}

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