summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 39313fd53e96c0155e924f2c6bab8c4a5c436d86 (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=sophia-nubian
pkgname=ttf-sil-$_pkgname
_fname=SophiaNubian
pkgver=1.0
pkgrel=1
pkgdesc='Unicode font with coverage of Coptic Unicode character set for Nubian languages'
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=('d1c4748b712cd43f3fd30f8a6a34ee362d102912e900c82f04380206ae7b9b5f')

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