summaryrefslogtreecommitdiff
path: root/user/fira/APKBUILD
blob: 8d0b68e9b316489ff55217cc8a008808b1675a97 (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
29
30
31
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fira
pkgver=4.301
_pkgver=${pkgver%.*}${pkgver#*.}
_monover=3.2
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
	https://bboxtype.com/downloads/Fira/Fira_Mono_${_monover/./_}.zip"

package() {
	cd "$srcdir"/Download_Folder_FiraSans_$_pkgver/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
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ "$srcdir"/Fira_Mono_3_2/Fonts/FiraMono_OTF_32/*.otf
}

sha512sums="37e3b17b0c90b99e704a9f54887d9029a5536fb16cc31bfc52d36d87aa20b3df5b024ea4181cda6068364d249a3e7bf1371a5d07e9f4aa5d93518ac3401d3e97  Download_Folder_FiraSans_4301.zip
476ead044a97c7b46fb386e009a92e7ddd5499cd30f65a8e0225084aa2d24d2527bde9c90f195ffe0d4c3922d250abd969751e8c3c08bf767480f11b83163849  Fira_Mono_3_2.zip"