summaryrefslogtreecommitdiff
path: root/user/fira/APKBUILD
blob: 67de332eb5121830682c2eee995392b201de2888 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fira
pkgver=4.301
_pkgver=${pkgver%.*}${pkgver#*.}
pkgrel=0
pkgdesc="Typefaces formerly from Mozilla"
url="https://bboxtype.com/typefaces/FiraSans/"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
subpackages=""
source="https://bboxtype.com/downloads/Fira/Download_Folder_FiraSans_$_pkgver.zip"
builddir="$srcdir/Download_Folder_FiraSans_$_pkgver"

package() {
	cd "$builddir"/Fonts/Fira_Sans_OTF_$_pkgver

	for i in Compressed Condensed Normal; do
		for j in Italic Roman; do
			install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ $i/$j/*.otf
		done
	done
}

sha512sums="37e3b17b0c90b99e704a9f54887d9029a5536fb16cc31bfc52d36d87aa20b3df5b024ea4181cda6068364d249a3e7bf1371a5d07e9f4aa5d93518ac3401d3e97  Download_Folder_FiraSans_4301.zip"