# 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"