summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9bfe1ac08063e2fc7f07716296355d48f7501dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Caleb Maclennan <caleb@alerque.com>

_pkgname=galatia
pkgname=ttf-sil-$_pkgname
_fname=${_pkgname^}SIL
pkgver=2.1
pkgrel=2
pkgdesc='Unicode font to support Biblical Polytonic Greek'
arch=('any')
url="https://software.sil.org/$_pkgname"
license=('OFL')
source=("http://software.sil.org/downloads/r/$_pkgname/$_fname-$pkgver.zip")
sha256sums=('0d0a34646a18267c5147ee01448268098ebb00c4563eb6e9260037f2d171aa92')

package() {
    cd "${_fname/atia}${pkgver/.}"
    find -type f -iname "${_fname/atia}*.ttf" -execdir \
        install -Dm644 {} -t "$pkgdir/usr/share/fonts/TTF" \;
    install -Dm644 OFL.txt -t "$pkgdir/usr/share/licenses/$pkgname"
}