summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennard Hofmann2024-04-03 15:44:57 +0200
committerLennard Hofmann2024-04-03 15:44:57 +0200
commit24eb432cd84d50299fcc49db25ea9e2c7e12658e (patch)
tree9e1595ef1c8b3f469bb61e60334808a5bf916da9
parent53648a8ed7fbeda3769db15b9dc69664b0f90c6b (diff)
downloadaur-ttf-fenix.tar.gz
Download from GitHub instead of fonts.google.com
https://github.com/google/fonts/issues/7481
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD11
2 files changed, 13 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d21db558cb0..557bc989731f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = ttf-fenix
pkgdesc = Serif font designed for display and long texts
pkgver = 1.001
- pkgrel = 2
+ pkgrel = 3
url = https://tipotype.com/underground/fenix/
arch = any
- license = OFL
- source = ttf-fenix-1.001.zip::https://fonts.google.com/download?family=Fenix
- sha256sums = 7dc101548d385cbf51a5c6103e431f3e81deb57b790ea443abc75c1b4b7c37b0
+ license = OFL-1.1-RFN
+ source = https://github.com/google/fonts/raw/4d3753bff382cefeff2925722f8dcff2836b6f62/ofl/fenix/OFL.txt
+ source = https://github.com/google/fonts/raw/4d3753bff382cefeff2925722f8dcff2836b6f62/ofl/fenix/Fenix-Regular.ttf
+ sha256sums = 8586a7e75681c7297af4cc0641eb2b29e882c5187fe189a1160eceb4e95d4163
+ sha256sums = 5104f5f344f64b5532850b131d7b9e033c112fcfa97dfef00a64c0a40bdae911
pkgname = ttf-fenix
-
diff --git a/PKGBUILD b/PKGBUILD
index 41b01d8d9232..b73b8b4d7793 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,16 @@
# Maintainer: Lennard Hofmann <lennard dot hofmann at web dot de>
pkgname=ttf-fenix
pkgver=1.001
-pkgrel=2
+pkgrel=3
pkgdesc='Serif font designed for display and long texts'
arch=(any)
url="https://tipotype.com/underground/fenix/"
-license=(OFL)
-source=("$pkgname-$pkgver.zip::https://fonts.google.com/download?family=Fenix")
-sha256sums=('7dc101548d385cbf51a5c6103e431f3e81deb57b790ea443abc75c1b4b7c37b0')
+_commit=4d3753bff382cefeff2925722f8dcff2836b6f62
+license=(OFL-1.1-RFN)
+source=("https://github.com/google/fonts/raw/$_commit/ofl/fenix/OFL.txt"
+ "https://github.com/google/fonts/raw/$_commit/ofl/fenix/Fenix-Regular.ttf")
+sha256sums=('8586a7e75681c7297af4cc0641eb2b29e882c5187fe189a1160eceb4e95d4163'
+ '5104f5f344f64b5532850b131d7b9e033c112fcfa97dfef00a64c0a40bdae911')
package() {
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" OFL.txt