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

_font=ronduit-capitals
pkgbase=$_font-font
pkgname=("otf-$_font")
pkgver=1.006
pkgrel=1
pkgdesc='An elegant modular display typeface'
url="https://www.neogrey.com/portfolio/$_font-light"
arch=('any')
license=('custom:FFPU')
makedepends=('hq')
source=("$_font-$pkgver.zip::https://dl.dafont.com/dl/?f=${_font/-/_}"
        "font-licenses.html::https://www.neogrey.com/font-licenses")
sha256sums=('ea7afef3130ee85d0bbd9886e03e0e4d972438bea605780d3804c3044e0cf6fe'
            'SKIP')

prepare() {
    hq article text < font-licenses.html > FFPU.txt
}

package_otf-ronduit-capitals() {
    install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" *.otf
    install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" FFPU.txt
}