summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db281fbe068bc7c6fca70a74ae9ea55f33510961 (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>

_project=fraunces
pkgbase=${_project}-font
pkgname=("ttf-$_project-variable") # "ttf-$_project" "otf-$_project"
pkgver=0.001
_sha=611c698e29de78d133beac7534a0ac7b914682cb
pkgrel=1
pkgdesc='A display, “Old Style” soft-serif typeface inspired by early 20th century typefaces'
arch=('any')
url="https://github.com/undercasetype/${_project^}"
license=('OFL')
source=("$url/archive/$_sha/$pkgname-$pkgver.zip")
sha256sums=('44b6f52536b8fdabae2e938344befbe2bacbc7800909c086401f4a28197fad7e')

package_otf-fraunces () {
    :
}

package_ttf-fraunces () {
    :
}

package_ttf-fraunces-variable () {
    pkgdesc+=" (variable)"
    cd "${_project^}-$_sha"
    install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" fonts/*\[*\].ttf
    install -Dm644 OFL.txt -t "$pkgdir/usr/share/licenses/$pkgname"
}