summaryrefslogtreecommitdiff
path: root/pcr/ttf-league-gothic/PKGBUILD
blob: cc5764a157553bdce9a8b4288d3163e603aee615 (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
# Maintainer (AUR): Caleb Maclennan <caleb@alerque.com>
# Maintainer (AUR): LightDot <lightdot -a-t- g m a i l>
# Contributor (AUR): samæ <samæ at marvid dot fr>
# Maintainer: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
# Contributor: bill-auger <bill-auger@programmer.net>

_fnt_name=league-gothic
pkgbase=$_fnt_name-font
pkgname=(otf-$_fnt_name ttf-$_fnt_name)
pkgver=20160215
_sha=e6dce2137410648b2229d5d4717de8c1cd5f9b97
pkgrel=6
pkgdesc='A revival of an old classic, Alternate Gothic #1'
arch=('any')
url="https://theleagueofmoveabletype.com/$_fnt_name"
license=('custom:OFL')
groups=('lmt-fonts')
provides=("$pkgbase")
source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/$_fnt_name/archive/$_sha.zip")
sha256sums=('f4cc4f754568c4d2b70c3b52a6663677656ee88277901efcdf079b40e8158ab1')

package_otf-league-gothic() {
    cd "$_fnt_name-$_sha"
    install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" *.otf
    install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" Open\ Font\ License*.markdown
    install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" readme.markdown
}

package_ttf-league-gothic() {
    cd "$_fnt_name-$_sha"
    install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" webfonts/*.ttf
    install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" Open\ Font\ License*.markdown
    install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" readme.markdown
}