blob: 0479cd325e09bc12f1aa05237a57767a0af2478f (
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
|
# Maintainer: Lennard Hofmann <lennard dot hofmann at web dot de>
pkgname=('otf-rasa' 'ttf-rasa')
pkgbase=rasa-font
pkgver=2.005
pkgrel=1
pkgdesc='Serif font for continuous reading on the web (Gujarati included)'
arch=(any)
url="https://github.com/rosettatype/yrsa-rasa"
license=('OFL')
groups=('yrsa-rasa-fonts')
source=("$pkgbase-$pkgver.zip::$url/releases/download/v$pkgver/Rasa-fonts-v$pkgver.zip")
sha256sums=('128041673aed9e2892b3527bb07f419418052e424775528fa350b004bc346113')
_package() {
cd "Rasa-fonts-v$pkgver"
install -Dm644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname/OFL.txt"
# txt file is actually a Markdown file:
install -Dm644 README.txt "$pkgdir/usr/share/doc/$pkgname/README.md"
}
package_otf-rasa() {
conflicts=('ttf-rasa')
_package
install -Dm644 -t "$pkgdir/usr/share/fonts/${pkgbase%-font}" otf/*.otf
}
package_ttf-rasa() {
conflicts=('otf-rasa')
_package
install -Dm644 -t "$pkgdir/usr/share/fonts/${pkgbase%-font}" ttf/*.ttf
}
|