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 d2287af commit 28867c0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -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

13 changes: 8 additions & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28867c0

Please sign in to comment.