summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennard Hofmann2024-04-03 16:18:11 +0200
committerLennard Hofmann2024-04-03 16:18:11 +0200
commit28867c0f5a85c94e5d2c8e2904d30472934ed154 (patch)
treec37c705b38726f77473367dc22c992c350302456
parentd2287afeaa54a479e14ede905386a3fec79f7c00 (diff)
downloadaur-28867c0f5a85c94e5d2c8e2904d30472934ed154.tar.gz
Download from GitHub instead of fonts.google.com
https://github.com/google/fonts/issues/7481
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD13
2 files changed, 15 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 82ed3c8646af..f44fce1ae9c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,11 +4,12 @@ pkgbase = ttf-patrick-hand-full
pkgrel = 2
url = https://fonts.google.com/specimen/Patrick+Hand
arch = any
- license = OFL
- source = ttf-patrick-hand-2.001.zip::https://fonts.google.com/download?family=Patrick+Hand
- source = ttf-patrick-hand-SC-2.001.zip::https://fonts.google.com/download?family=Patrick+Hand+SC
- sha256sums = c29ef217da8d26b44290f2320820f432311083cf922f8c6219abbdcec2a41af1
- sha256sums = 67a52e8f10b756720380fff246e7dab8532c970423ee330d075923b26cff093d
+ license = OFL-1.1-no-RFN
+ source = https://github.com/google/fonts/raw/4d3753bff382cefeff2925722f8dcff2836b6f62/ofl/patrickhand/OFL.txt
+ source = https://github.com/google/fonts/raw/4d3753bff382cefeff2925722f8dcff2836b6f62/ofl/patrickhand/PatrickHand-Regular.ttf
+ source = https://github.com/google/fonts/raw/4d3753bff382cefeff2925722f8dcff2836b6f62/ofl/patrickhandsc/PatrickHandSC-Regular.ttf
+ sha256sums = 377f4f9c19e935228552478eb68cc2ed82910988a60ba60e2ac73b09f32d02d1
+ sha256sums = 0f173b3e6cb6d1af25babf7f0057c5ac4ee11f9992b0469bb817e967ef4ad0fc
+ sha256sums = 83eff88cfa3c4e501e25f334c0a1a88eb4d4af1ea9d4c32900edf2fb178244dc
pkgname = ttf-patrick-hand-full
-
diff --git a/PKGBUILD b/PKGBUILD
index c8405567059f..e0ae8c9a3ae7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,11 +6,14 @@ pkgrel=2
pkgdesc='font based on Patrick Wagesreiter’s handwriting'
arch=(any)
url="https://fonts.google.com/specimen/Patrick+Hand"
-license=(OFL)
-source=("$_pkgname-$pkgver.zip::https://fonts.google.com/download?family=Patrick+Hand"
- "$_pkgname-SC-$pkgver.zip::https://fonts.google.com/download?family=Patrick+Hand+SC")
-sha256sums=('c29ef217da8d26b44290f2320820f432311083cf922f8c6219abbdcec2a41af1'
- '67a52e8f10b756720380fff246e7dab8532c970423ee330d075923b26cff093d')
+_commit=4d3753bff382cefeff2925722f8dcff2836b6f62
+license=(OFL-1.1-no-RFN)
+source=("https://github.com/google/fonts/raw/$_commit/ofl/patrickhand/OFL.txt"
+ "https://github.com/google/fonts/raw/$_commit/ofl/patrickhand/PatrickHand-Regular.ttf"
+ "https://github.com/google/fonts/raw/$_commit/ofl/patrickhandsc/PatrickHandSC-Regular.ttf")
+sha256sums=('377f4f9c19e935228552478eb68cc2ed82910988a60ba60e2ac73b09f32d02d1'
+ '0f173b3e6cb6d1af25babf7f0057c5ac4ee11f9992b0469bb817e967ef4ad0fc'
+ '83eff88cfa3c4e501e25f334c0a1a88eb4d4af1ea9d4c32900edf2fb178244dc')
package() {
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" OFL.txt