Skip to content

Commit

Permalink
Download from GitHub instead of fonts.google.com
Browse files Browse the repository at this point in the history
  • Loading branch information
Ordoviz committed Apr 3, 2024
1 parent 53648a8 commit 24eb432
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -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

11 changes: 7 additions & 4 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 24eb432

Please sign in to comment.