summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickaël Bourgier2020-02-06 08:29:42 +0100
committerMickaël Bourgier2020-02-06 08:29:42 +0100
commitb1014e8fa1c7167d068ed0a74a0b1121285266ec (patch)
tree57fe11c00404ecc1c86cb39c07809bd48222f881
parent5da62ff37d97e1432e428a9744e24ffb4660ac71 (diff)
downloadaur-b1014e8fa1c7167d068ed0a74a0b1121285266ec.tar.gz
Add the version number to Hack.zip to prevent caching
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e0061a6f012d..2d36b58e3527 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nerd-fonts-hack
pkgdesc = Patched font Hack from nerd-fonts library
pkgver = 2.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ryanoasis/nerd-fonts
install = nerd-fonts-hack.install
arch = any
@@ -9,7 +9,7 @@ pkgbase = nerd-fonts-hack
makedepends = fontconfig
makedepends = xorg-mkfontscale
makedepends = xorg-mkfontdir
- source = https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip
+ source = Hack-2.1.0.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip
source = https://raw.githubusercontent.com/ryanoasis/nerd-fonts/2.1.0/LICENSE
sha256sums = 70852e59fcffbe31d401f615625bcb9ebb6af72732c2f1fe9b9d5370c2565514
sha256sums = d2a29823384e9194a87936ccad495c764c2ef733b29bfa6f72a1d65803ce02e5
diff --git a/PKGBUILD b/PKGBUILD
index a45313d1cddf..14d416120d9b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=nerd-fonts-hack
pkgver=2.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Patched font Hack from nerd-fonts library"
arch=("any")
url="https://github.com/ryanoasis/nerd-fonts"
license=("MIT")
makedepends=("fontconfig" "xorg-mkfontscale" "xorg-mkfontdir")
install=$pkgname.install
-source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Hack.zip"
+source=("Hack-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Hack.zip"
"https://raw.githubusercontent.com/ryanoasis/nerd-fonts/$pkgver/LICENSE")
sha256sums=("70852e59fcffbe31d401f615625bcb9ebb6af72732c2f1fe9b9d5370c2565514"
"d2a29823384e9194a87936ccad495c764c2ef733b29bfa6f72a1d65803ce02e5")