diff options
Diffstat (limited to 'user/fira/APKBUILD')
-rw-r--r-- | user/fira/APKBUILD | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/user/fira/APKBUILD b/user/fira/APKBUILD index 6719c19b2..8d0b68e9b 100644 --- a/user/fira/APKBUILD +++ b/user/fira/APKBUILD @@ -1,22 +1,31 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=fira -pkgver=4.202 +pkgver=4.301 +_pkgver=${pkgver%.*}${pkgver#*.} +_monover=3.2 pkgrel=0 -pkgdesc="Typefaces from Mozilla" -url="https://mozilla.github.io/Fira/" +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="Fira-$pkgver.tar.gz::https://github.com/mozilla/Fira/archive/$pkgver.tar.gz" -builddir="$srcdir/Fira-$pkgver" +source="https://bboxtype.com/downloads/Fira/Download_Folder_FiraSans_$_pkgver.zip + https://bboxtype.com/downloads/Fira/Fira_Mono_${_monover/./_}.zip" package() { - cd "$builddir" - install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ otf/*.otf + 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="fec770fa038f2aa0654f9382f95aa1266a2655970f4c7755b237af9d1c09f47ce719f8daf3afc39812fc69448b9481ee0e2a1414f1d007ad70b4254c92950ebb Fira-4.202.tar.gz" +sha512sums="37e3b17b0c90b99e704a9f54887d9029a5536fb16cc31bfc52d36d87aa20b3df5b024ea4181cda6068364d249a3e7bf1371a5d07e9f4aa5d93518ac3401d3e97 Download_Folder_FiraSans_4301.zip +476ead044a97c7b46fb386e009a92e7ddd5499cd30f65a8e0225084aa2d24d2527bde9c90f195ffe0d4c3922d250abd969751e8c3c08bf767480f11b83163849 Fira_Mono_3_2.zip" |