Package Details: trgui-ng 1.3.0-1

Git Clone URL: https://aur.archlinux.org/trgui-ng.git (read-only, click to copy)
Package Base: trgui-ng
Description: Remote GUI for Transmission torrent daemon
Upstream URL: https://github.com/openscopeproject/TrguiNG
Keywords: gui remote torrent transmission transmission-daemon
Licenses: AGPL-3.0
Conflicts: trgui-ng-git
Submitter: username227
Maintainer: username227 (qu1ck)
Last Packager: qu1ck
Votes: 4
Popularity: 0.25
First Submitted: 2023-12-01 01:21 (UTC)
Last Updated: 2024-04-15 07:20 (UTC)

Latest Comments

vinicentus commented on 2024-04-17 08:50 (UTC)

Well the dbip.mmdb changed, and you included the new checksum for it. So all good there, apologies, my bad. But for some reason paru either did not think to update the file or somehow incorrectly or incompletely downloaded it. After clearing the cache for that particular package by removing ~/.cache/paru/clone/trgui-ng the checksum were properly verified.

username227 commented on 2024-04-16 13:40 (UTC)

On my end, it works with yay, paru, and pamac, including all checksums.This particular file would not have changed from the prior version, so there should have been no change to the checksums for this particular file. If it were me, I would start by clearing my cache and trying again?

vinicentus commented on 2024-04-16 09:40 (UTC)

When trying to uprgade using paru I get the following:

==> Retrieving sources...
  -> Updating TrguiNG git repo...
  -> Found dbip.mmdb
  -> Found TrguiNG.desktop
==> Validating source files with sha256sums...
    TrguiNG ... Skipped
    dbip.mmdb ... FAILED
    TrguiNG.desktop ... Passed
==> ERROR: One or more files did not pass the validity check!

Did you include all the new checksums?

username227 commented on 2023-12-27 23:37 (UTC)

Thanks, added.

Donatzsky commented on 2023-12-27 21:27 (UTC)

Looks like it needs NPM as a dependency:

==> Starting build()...
/home/nis/.cache/aurutils/sync/trgui-ng/PKGBUILD: line 30: npm: command not found
==> ERROR: A failure occurred in build().

Dlani commented on 2023-12-04 12:52 (UTC) (edited on 2023-12-04 12:52 (UTC) by Dlani)

Actually, I've had personal PKGBUILD for a while now but I was too lazy to publish it. By the way, you forgot to update pkgrel version and .SRCINFO.

pkgrel is version of PKGBUILD that resets every pkgver update. E.g. 1.0.0-1 -> 1.0.0-2 -> 1.0.1-1

username227 commented on 2023-12-03 00:55 (UTC)

Yes, I had a feeling there would be something like this. I'm glad this happened so quickly, means it's being noticed. This is my first pkgbuild, so i'm definitely open to the help. I'll make these changes; it makes sense. Thanks.

Dlani commented on 2023-12-01 21:04 (UTC) (edited on 2023-12-01 21:08 (UTC) by Dlani)

Current version of package is a -git one. Please, update package with my patch which fixes this and also has some improvements.

diff --git a/PKGBUILD b/PKGBUILD
index 59fdd86..9198a5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,6 @@
 # MAINTAINER username227 gfrank227[at]gmail[dot]com
 # MAINTAINER qu1ck anlutsenko[at]gmail[dot]com
+
 pkgname=trgui-ng
 pkgver='1.0.0'
 pkgrel=1
@@ -9,24 +10,37 @@ arch=('x86_64')
 license=('AGPL-3.0')
 depends=('alsa-lib' 'cairo' 'desktop-file-utils' 'fontconfig' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libayatana-appindicator' 'libsoup' 'openssl' 'webkit2gtk')
 makedepends=('rust>=1.69.0' 'nodejs>=16.0.0')
-source=('git+https://github.com/openscopeproject/TrguiNG')
-noextract=('TrguiNG')
-sha256sums=('SKIP')
+source=("git+https://github.com/openscopeproject/TrguiNG#tag=v$pkgver"
+        "https://github.com/openscopeproject/TrguiNG/releases/download/v1.0.0/dbip.mmdb"
+        "TrguiNG.desktop"::"https://raw.githubusercontent.com/flathub/org.openscopeproject.TrguiNG/master/org.openscopeproject.TrguiNG.desktop")
+noextract=('dbip.mmdb')
+sha256sums=('SKIP'
+            '00199d1a2c79882d77f502cc1253f174cf0160321dbd176ac0c5340a4f720a07'
+            '21bef47c8cddae5365a7af8867d43c25e80db53ec8dbb1940138ad26d02a401a')
+
+prepare() {
+   cd "$srcdir/TrguiNG"
+
+   cp "../dbip.mmdb" "src-tauri/dbip.mmdb"
+}
+
 build()    {
    cd "$srcdir/TrguiNG"
-   wget -O "$srcdir/TrguiNG/src-tauri/dbip.mmdb" "https://github.com/openscopeproject/TrguiNG/releases/download/v1.0.0/dbip.mmdb" 
-   wget -O TrguiNG.desktop "https://raw.githubusercontent.com/flathub/org.openscopeproject.TrguiNG/master/org.openscopeproject.TrguiNG.desktop"
+
    npm install
    npm run build -- -b
 }
+
 package() {
    install -dm755 "$pkgdir/usr/bin"
    install -dm755 "$pkgdir/usr/lib/trgui-ng"
    install -dm755 "$pkgdir/usr/share/icons/hicolor/32x32/apps"
    install -dm755 "$pkgdir/usr/share/icons/hicolor/128x128/apps"
+
    install -Dm755 "$srcdir/TrguiNG/src-tauri/target/release/trgui-ng" "$pkgdir/usr/bin/trgui-ng"
-   install -Dm755 "$srcdir/TrguiNG/src-tauri/dbip.mmdb" "$pkgdir/usr/lib/trgui-ng/dbip.mmdb"
-   install -Dm755 "$srcdir/TrguiNG/TrguiNG.desktop" "$pkgdir/usr/share/applications/TrguiNG.desktop"
-   install -Dm755 "$srcdir/TrguiNG/src-tauri/icons/32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/trgui-ng.png"
-   install -Dm755 "$srcdir/TrguiNG/src-tauri/icons/128x128.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/trgui-ng.png"
+   install -Dm644 "$srcdir/TrguiNG/src-tauri/dbip.mmdb" "$pkgdir/usr/lib/trgui-ng/dbip.mmdb"
+   install -Dm755 "$srcdir/TrguiNG.desktop" "$pkgdir/usr/share/applications/TrguiNG.desktop"
+   install -Dm644 "$srcdir/TrguiNG/src-tauri/icons/32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/trgui-ng.png"
+   install -Dm644 "$srcdir/TrguiNG/src-tauri/icons/128x128.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/trgui-ng.png"
+   install -Dm644 "$srcdir/TrguiNG/src-tauri/icons/app.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/trgui-ng.svg"
 }