summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRhinoceros2024-04-02 11:48:44 +1100
committerRhinoceros2024-04-02 11:48:44 +1100
commit2dec7f4d8919291880601263e966075007c9158b (patch)
tree2095952f7642f015301e41392eee5d3e166b20af /PKGBUILD
parentdec5a55a91b3b07f07eeaad31c6e005e199dd036 (diff)
downloadaur-ttf-impallari-cantora.tar.gz
Update to 1.002-1
* The official Google source now obfuscates the download link, which changes on each download. * Download from another source. * I could only find one out of six that had the most recent 1.002. * This did not have the licence, so just bundle it in the package now.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fc778e311d20..338a18c28e02 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,15 +4,26 @@
_font='cantora'
_group='impallari'
pkgname=ttf-${_group}-${_font}
-pkgver=1.001
-pkgrel=8
+pkgver=1.002
+pkgrel=1
pkgdesc="Cantora ('Singer' in Spanish) is a friendly semi-formal, semi-condensed, semi–sans-serif font, from Pablo Impallari"
arch=(any)
url='https://fonts.google.com/specimen/Cantora+One'
license=('OFL')
groups=("${_group}-fonts")
-source=("Cantora_One.zip::https://fonts.google.com/download?family=Cantora%20One")
-sha256sums=('284210cdc091282b905eb8343d3af286c0c92288bc498d6e60fb90353999c134')
+# source=("Cantora_One.zip::https://fonts.google.com/download?family=Cantora%20One")
+# The official Google source above now obfuscates the download link, which changes on each download.
+# These sites have the older 1.001 version:
+# https://www.fonts4free.net/cantora-one-font.html
+# https://fontmeme.com/fonts/cantora-one-font/
+# https://www.1001freefonts.com/cantora-one.font
+# https://www.urbanfonts.com/fonts/Cantora_One.font
+# https://www.fontmirror.com/cantora-one
+# The following has the newer 1.002 version, as per Google, although the size is slightly different. It also lacks the licence, so I'll just bundle the Google version into this package itself.
+source=("Cantora_One.${pkgver-pkgrel}.zip::https://font.download/dl/font/cantora-one.zip"
+ 'OFL.txt')
+sha256sums=('0a6bf27e748154fc94ea86c267881b1795e71964928a203d30987102260970a7'
+ '22ef36d651a87c85f2f8f04007d9e9a9bba75106151f39163844ef61ea023843')
package() {
install -dm755 "${pkgdir}/usr/share/fonts/TTF/${_group}"