Package Details: ttf-victor-mono 1.5.6-1

Git Clone URL: https://aur.archlinux.org/ttf-victor-mono.git (read-only, click to copy)
Package Base: ttf-victor-mono
Description: Unoffical Victor Mono(TTF) AUR package
Upstream URL: https://rubjo.github.io/victor-mono/
Licenses: custom:OFL
Submitter: interfiber
Maintainer: interfiber
Last Packager: interfiber
Votes: 12
Popularity: 0.58
First Submitted: 2022-01-22 21:54 (UTC)
Last Updated: 2024-01-29 12:26 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Pinned Comments

Latest Comments

1 2 Next › Last »

victorz commented on 2024-01-29 10:02 (UTC) (edited on 2024-01-29 10:47 (UTC) by victorz)

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/
 }

shirshendu commented on 2024-01-28 09:17 (UTC)

Please rectify the sha256sums in PKGBUILD. The source has the value: eab377ad3bcc7a202697c024ebb8c8728f99789c4f093d358f3d202052cc9496

MarsSeed commented on 2023-10-10 19:14 (UTC)

Please don't use mkdir inside the package() function.

DexterHaxxor commented on 2023-05-13 09:44 (UTC)

This package isn't out of date. Please unflag it.

tsetsee_yugi commented on 2023-04-25 01:47 (UTC)

Aur (1) ttf-victor-mono-1.5.5-1

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs... PKGBUILDs up to date nothing new to review fetching devel info... ==> Making package: ttf-victor-mono 1.5.5-1 (Tue 25 Apr 2023 09:46:31 AM +08) ==> Retrieving sources... -> Found VictorMonoAll.zip ==> Validating source files with sha256sums... VictorMonoAll.zip ... FAILED ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'ttf-victor-mono-1.5.5-1': error: packages failed to build: ttf-victor-mono-1.5.5-1

haawda commented on 2023-04-18 11:44 (UTC)

you can use the ::-syntax to include a version number in the source array, and please quote "$pkgver".

DexterHaxxor commented on 2023-04-18 09:45 (UTC)

This released: https://github.com/rubjo/victor-mono/releases/tag/v1.5.5