From 932c63c55132f25492801fd69651d3847ea981bd Mon Sep 17 00:00:00 2001 From: creations Date: Tue, 28 Jan 2025 23:56:35 -0500 Subject: [PATCH] Fix missing pkgname in .SRCINFO --- .SRCINFO | 69 ++++++++++++++++++++++++++++---------------------------- PKGBUILD | 8 +++---- 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3b9cbfc..b01b047 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,34 +1,35 @@ -pkgbase = navithingy -pkgdesc = A Navidrome client built with Tauri and Svelte. -pkgver = 0.2.0 -pkgrel = 1 -url = https://github.com/vMohammad24/NaviThingy -arch = x86_64 -license = MIT -depends = nodejs -depends = npm -depends = gtk3 -depends = gstreamer -depends = gst-plugins-base -depends = gst-plugins-good -depends = gst-plugins-bad -depends = gst-plugins-ugly -makedepends = git -makedepends = nodejs -makedepends = npm -makedepends = rustup -makedepends = pkg-config -makedepends = clang -makedepends = lld -makedepends = webkit2gtk-4.1 -makedepends = openssl -makedepends = openssl-1.1 -makedepends = fuse2 -makedepends = glib2 -makedepends = zlib -makedepends = patchelf -optdepends = libappindicator-gtk3: System tray support -optdepends = gst-plugin-pipewire: Required for PipeWire-based audio playback -source = git+https://github.com/vMohammad24/NaviThingy.git -sha256sums = SKIP -install = navithingy.install +pkgbase = navithingy-git + pkgdesc = A Navidrome client built with Tauri and Svelte. + pkgver = 0.2.0.r24.18300ce + pkgrel = 1 + url = https://github.com/vMohammad24/NaviThingy + install = navithingy-git.install + arch = x86_64 + license = MIT + makedepends = git + makedepends = rustup + makedepends = pkg-config + makedepends = clang + makedepends = lld + makedepends = webkit2gtk-4.1 + makedepends = openssl + makedepends = openssl-1.1 + makedepends = glib2 + makedepends = zlib + makedepends = patchelf + depends = nodejs + depends = npm + depends = gtk3 + depends = gstreamer + depends = gst-plugins-base + depends = gst-plugins-good + depends = gst-plugins-bad + depends = gst-plugins-ugly + optdepends = libappindicator-gtk3: System tray support + optdepends = gst-plugin-pipewire: Required for PipeWire-based audio playback + provides = navithingy + conflicts = navithingy + source = git+https://github.com/vMohammad24/NaviThingy.git + sha256sums = SKIP + +pkgname = navithingy-git diff --git a/PKGBUILD b/PKGBUILD index a4ba5cb..aa90ca0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,11 +3,11 @@ pkgname=navithingy-git pkgver=0.2.0.r24.18300ce pkgrel=1 pkgdesc="A Navidrome client built with Tauri and Svelte." -arch=('x86_64') +arch=("$CARCH") url="https://github.com/vMohammad24/NaviThingy" license=('MIT') depends=('nodejs' 'npm' 'gtk3' 'gstreamer' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-ugly') -makedepends=('git' 'nodejs' 'npm' 'rustup' 'pkg-config' 'clang' 'lld' 'webkit2gtk-4.1' 'openssl' 'openssl-1.1' 'glib2' 'zlib' 'patchelf') +makedepends=('git' 'rustup' 'pkg-config' 'clang' 'lld' 'webkit2gtk-4.1' 'openssl' 'openssl-1.1' 'glib2' 'zlib' 'patchelf') optdepends=( "libappindicator-gtk3: System tray support" "gst-plugin-pipewire: Required for PipeWire-based audio playback" @@ -32,9 +32,9 @@ pkgver() { prepare() { cd "$srcdir/NaviThingy" - rustup default stable + rustup show active-toolchain || rustup default stable rustup update stable - rustup target add x86_64-unknown-linux-gnu + rustup target add "$(rustc -vV | grep host | awk '{print $2}')" npm install }