Package Details: snapx-ui 0.4.0-1

Git Clone URL: https://aur.archlinux.org/snapx.git (read-only, click to copy)
Package Base: snapx
Description: Screenshot tool that handles images, text, and video (fork of ShareX). SnapX Avalonia-based UI (works best on X11)
Upstream URL: https://github.com/BrycensRanch/SnapX
Licenses: GPL-3.0-or-later
Submitter: BrycensRanch
Maintainer: BrycensRanch
Last Packager: BrycensRanch
Votes: 1
Popularity: 0.40
First Submitted: 2025-05-29 19:50 (UTC)
Last Updated: 2025-07-12 18:46 (UTC)

Latest Comments

paper commented on 2025-07-12 07:25 (UTC) (edited on 2025-07-12 07:35 (UTC) by paper)

PKGBUILD is broken, need to replace this line in pkgver():

   echo "${ver//+/.}"

with

   echo "${ver//[+-]/.}"

most importantly, the package describes itself as 0.3.0, but it's actually pulling the latest git commit. which is obviously wrong. there SHOULDN'T be any pkgver() function at all, and the source should point to the generated tarball by git:

source=("SnapX-${pkgver}.tar.gz::https://github.com/BrycensRanch/SnapX/archive/${pkgver}.tar.gz")

see the trizen AUR package for an example of this in practice.

I also can't seem to install this properly, and it just segfaults on startup.

AliceAwoo commented on 2025-07-05 08:37 (UTC) (edited on 2025-07-05 08:37 (UTC) by AliceAwoo)

Doesn't wanna install for me:

==> Making package: snapx 0.3.0-1 (Sat 05 Jul 2025 18:24:31)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating snapx git repo...
==> Validating source files with sha256sums...
    snapx ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of snapx git repo...
Cloning into 'snapx'...
done.
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.4.0-alpha.32.gdb14b01
 -> error making: snapx-exit status 12
 -> Failed to install the following packages. Manual intervention is required:
snapx - exit status 12