summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5cc59a5eb1440b867c5f095d638043b01a91b03 (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
35
36
37
38
39
40
41
42
43
# Maintainer: Caleb Maclennan <caleb@alerque.com>

_name=emberly
pkgbase=$_name-font
pkgname=(otf-$_name ttf-$_name otf-$_name-variable ttf-$_name-variable)
pkgver=1.3
pkgrel=2
pkgdesc='A display font inspired by the Didone style created by Rajesh Rajput'
arch=(any)
url='https://www.behance.net/gallery/87667103/Emberly-Free-Typeface-54-Styles'
license=(OFL)
# Download is $0 purchase but requires email: https://gumroad.com/l/XTAeN
_archive="${_name^} v$pkgver"
source=("file://$_archive.zip")
sha256sums=('e8494cdafd3fd306a4965617413e628e1ae42c884c0c37006f1bdd411530669f')

package_otf-emberly() {
	provides=("$pkgbase")
	cd "$_archive"
	install -Dm0644 -t "$pkgdir/usr/share/fonts/OTF/" OTF/*.otf
	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
}

package_ttf-emberly() {
	provides=("$pkgbase")
	cd "$_archive"
	install -Dm0644 -t "$pkgdir/usr/share/fonts/TTF/" TTF/*.ttf
	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
}

package_otf-emberly-variable() {
	provides=("$pkgbase-variable")
	cd "$_archive"
	install -Dm0644 -t "$pkgdir/usr/share/fonts/OTF/" Variables/*.otf
	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
}

package_ttf-emberly-variable() {
	provides=("$pkgbase-variable")
	cd "$_archive"
	install -Dm0644 -t "$pkgdir/usr/share/fonts/TTF/" Variables/*.ttf
	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
}