Package Details: snander v.1.7.7-1

Git Clone URL: https://aur.archlinux.org/snander.git (read-only, click to copy)
Package Base: snander
Description: SNANDer - Serial Nor/nAND/Eeprom programmeR (based on CH341A)
Upstream URL: https://github.com/McMCCRU/SNANDer
Keywords: ch341 eeprom nand nor
Licenses: GPL2
Submitter: redchenjs
Maintainer: redchenjs
Last Packager: redchenjs
Votes: 3
Popularity: 0.000961
First Submitted: 2023-01-13 17:30 (UTC)
Last Updated: 2023-03-20 13:12 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

Lili1228 commented on 2023-03-18 09:42 (UTC) (edited on 2023-03-18 09:44 (UTC) by Lili1228)

I saw this package on recently updated and honestly, it's a mess. Since it doesn't have a -git suffix, the current version should be 1.77, PKGBUILD should download .tar.gz from a GitHub release and build that, with no make dependency of git. In fact, you don't have any dependency or make dependency at the moment, check with namcap (in extra) if that's the case (namcap snander*.tar.zst after you build). I also don't see why you build libusb for this, this is in core repository, currently at the exact same version as in repo, and I believe lines 23-25 can be removed.

Now, if you decide to make a -git version, you already have a package that does pkgver() correctly and that is https://aur.archlinux.org/packages/wiringpi-tinkerboard-git, it directly follows https://wiki.archlinux.org/title/VCS_package_guidelines. No package ever should have a version +1+-1, it took me a good minute to solve this riddle without looking at PKGBUILD.