I suggest the following changes to fix the source validation error which occurs due to stale source files. New sources aren't downloaded because the file is always called "VictorMonoAll.zip", and the source validation fails. Should be fixed with this, as it downloads the specific version from the releases page on GitHub. Please adapt to your needs as you see fit, and incorporate into this package's PKGBUILD, thank you.
diff --git a/PKGBUILD b/PKGBUILD
index a78ed5c..741a007 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,18 @@ pkgdesc="Unoffical Victor Mono(TTF) AUR package"
pkgver=1.5.6
pkgrel=1
arch=("any")
-sha256sums=("eab377ad3bcc7a202697c024ebb8c8728f99789c4f093d358f3d202052cc9496")
+sha256sums=("e7502e2aeaaf579ea9c790bee4088454e86d8a3bd1d6757145fb18a33ae90608")
url="https://rubjo.github.io/victor-mono/"
-source=("https://rubjo.github.io/victor-mono/VictorMonoAll.zip")
+source=("$pkgname-$pkgver.zip::https://github.com/rubjo/victor-mono/archive/refs/tags/v$pkgver.zip")
license=("custom:OFL")
+prepare() {
+ bsdtar -xf "$srcdir/victor-mono-$pkgver/public/VictorMonoAll.zip" -C VictorMonoAll
+}
+
package() {
if [[ ! -d "$pkgdir/usr/share/fonts/TTF" ]]; then
mkdir -p $pkgdir/usr/share/fonts/TTF
fi
- install -Dm644 TTF/*.ttf $pkgdir/usr/share/fonts/TTF/
+ install -Dm644 VictorMonoAll/TTF/*.ttf $pkgdir/usr/share/fonts/TTF/
}
Pinned Comments