summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorD3SOX2021-09-29 20:45:55 +0200
committerD3SOX2021-09-29 20:45:55 +0200
commit11b566fdf3e69eb15a28932b331ccff6ce4a877c (patch)
tree7ce22085e86d5dc9df761a8333a47b39385efe0d
parent217fc6c8ccaf7fa1da679a8a01604ef857972645 (diff)
downloadaur-11b566fdf3e69eb15a28932b331ccff6ce4a877c.tar.gz
add pkgrel to font file to prevent caching by aur helpers
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ce1067bb99df..f97079269330 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = otf-san-francisco-mono
pkgdesc = Monospaced variant of San Francisco. Sourced directly from Apple.
pkgver = 1
- pkgrel = 6
+ pkgrel = 7
url = https://developer.apple.com/fonts/
arch = any
license = custom
makedepends = p7zip
- source = https://developer.apple.com/design/downloads/SF-Mono.dmg
+ source = SF-Mono-7.dmg::https://developer.apple.com/design/downloads/SF-Mono.dmg
sha256sums = 76c415e9aee0524087cc6a042113db6b38f1a19f2e286f807aa29756461370a9
pkgname = otf-san-francisco-mono
diff --git a/PKGBUILD b/PKGBUILD
index 7420e17a29c9..a83db5058be5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,20 @@
# Contributor: Harry Beadle <harrybeadle@protonmail.com>
pkgname=otf-san-francisco-mono
pkgver=1
-pkgrel=6
+pkgrel=7
pkgdesc='Monospaced variant of San Francisco. Sourced directly from Apple.'
arch=('any')
url='https://developer.apple.com/fonts/'
license=('custom')
makedepends=('p7zip')
-source=('https://developer.apple.com/design/downloads/SF-Mono.dmg')
+source=("SF-Mono-$pkgrel.dmg::https://developer.apple.com/design/downloads/SF-Mono.dmg")
sha256sums=('76c415e9aee0524087cc6a042113db6b38f1a19f2e286f807aa29756461370a9')
prepare() {
# remove previous files
rm -rf SFMonoFonts
# extract dmg
- 7z x SF-Mono.dmg
+ 7z x "SF-Mono-$pkgrel.dmg"
# extract pkg
bsdtar xvPf "SFMonoFonts/SF Mono Fonts.pkg"
bsdtar xvPf "SFMonoFonts.pkg/Payload"