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

_pkgname=doulos
pkgname=ttf-sil-$_pkgname
_fname=${_pkgname^}SIL
pkgver=5.000
pkgrel=1
pkgdesc='complete support for the International Phonetic Alphabet'
arch=('any')
url="https://software.sil.org/$_pkgname"
license=('custom:OFL')
depends=('fontconfig' 'xorg-font-utils')
source=("http://software.sil.org/downloads/r/$_pkgname/$_fname-$pkgver.zip")
sha256sums=('0b309c3db813a98ce884c0bd25c7f5c0bd96bbffd076459e39298812ca22472e')

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