Package Details: gnome-shell-extension-pano-bin 23.alpha5-2

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-pano-bin.git (read-only, click to copy)
Package Base: gnome-shell-extension-pano-bin
Description: Next-gen Clipboard Manager for Gnome Shell
Upstream URL: https://github.com/oae/gnome-shell-pano
Keywords: clipboard excension gnome manager shell
Licenses: GPL-2.0
Conflicts: gnome-shell-extension-pano
Provides: gnome-shell-extension-pano
Submitter: SelfRef
Maintainer: SelfRef
Last Packager: SelfRef
Votes: 2
Popularity: 0.73
First Submitted: 2024-11-09 10:22 (UTC)
Last Updated: 2025-05-14 19:37 (UTC)

Latest Comments

SelfRef commented on 2025-06-11 12:10 (UTC)

Thanks, @gwuensch. That's a valid feedback. I'll update the package soon to not contain unnecessary stuff.

gwuensch commented on 2025-06-10 23:15 (UTC)

Hey there! Currently, this package is built by copying all the files in $srcdir into $pkgdir. This approach is not very clean, as this might include files from old releases as well as symlinks to the source files, which have no business being in the final package. This is easily solved by manually extracting the source archive to its own unique directory:

diff --git a/PKGBUILD b/PKGBUILD
index c46679a..48ba32c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,8 +16,15 @@ provides=("$_basename")
 conflicts=("$_basename")
 source=("pano-${pkgver}.zip::https://github.com/oae/gnome-shell-pano/releases/download/v${pkgver/\./-}/pano@elhan.io.zip")
 sha256sums=('b72a5b243a621ff73539b88c970c2e78041e3b67c9b32de24107b6383aa4be0b')
+noextract=("pano-${pkgver}.zip")
+
+prepare() {
+   # Extract the archive to its own folder to avoid cluttering $srcdir
+   mkdir -p "pano-${pkgver}"
+   bsdtar -xf "pano-${pkgver}.zip" -C "pano-${pkgver}"
+}

 package() {
    mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/pano@elhan.io"
-   cp -r * "$pkgdir/usr/share/gnome-shell/extensions/pano@elhan.io/"
+   cp -r "pano-${pkgver}"/* "$pkgdir/usr/share/gnome-shell/extensions/pano@elhan.io/"
 }

It would be great if you could adjust the PKGBUILD accordingly :) Thanks!

SelfRef commented on 2025-05-14 19:37 (UTC)

@xuiqzy: Good idea, fixed.

xuiqzy commented on 2025-03-23 22:07 (UTC)

Could you change the filename of the downloaded zip to include the version number, please, that way the old file does not need to be deleted for a new build? See for example how the firefox nightly package includes the date in the downloaded source. But the version without date should be enough here in this non git package.

Output when old file is not manually removed

==> Making package: gnome-shell-extension-pano-bin 23.alpha4-1 (Sun 23 Mar 2025 23:02:03 CET)
==> Retrieving sources...
  -> Found pano@elhan.io.zip
==> Validating source files with sha256sums...
    pano@elhan.io.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!