summaryrefslogtreecommitdiff
path: root/pcr/ttf-gentium-plus/PKGBUILD
blob: 3eebe622a7e68b9caf1ae7504528120c56a1ea41 (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
# Maintainer:
pkgname=ttf-gentium-plus
_pkgname=GentiumPlus
_pkgsubname=Compact
pkgver=5.000
pkgrel=2
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' 'xorg-font-utils')
makedepends=('unzip')
conflicts=('ttf-sil-fonts')
source=("http://software.sil.org/downloads/r/gentium/$_pkgname-$pkgver.zip"
        "http://software.sil.org/downloads/r/gentium/$_pkgname$_pkgsubname-$pkgver.zip")
sha256sums=('335911f17bd2de4e43742e1d0367cfeff19a90abf7ed604f100a42705042e154'
            '1d8a4ff03dce90f6002b008a5e37f890c409bc22e4e26561b67f3f3c40991b5c')

package() {
  cd "${_pkgname}-${pkgver}"
  install -D -m644 OFL.txt "$pkgdir"/usr/share/licenses/$pkgname/OFL
  install -d  "$pkgdir"/usr/share/fonts/TTF
  install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF/
  cd "$srcdir/$_pkgname$_pkgsubname-$pkgver"
  install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF/
}