Package Details: qsv-bin 0.125.0-1

Git Clone URL: (read-only, click to copy)
Package Base: qsv-bin
Description: CSVs sliced, diced & analyzed. Quicksilver (qsv) is a fork of the popular xsv utility
Upstream URL:
Licenses: MIT, Unlicense
Conflicts: qsv
Provides: qsv
Submitter: tee
Maintainer: tee
Last Packager: tee
Votes: 1
Popularity: 0.004920
First Submitted: 2023-07-24 02:08 (UTC)
Last Updated: 2024-04-03 06:42 (UTC)

Latest Comments

kepi commented on 2024-02-06 11:40 (UTC)

@tee - the problem IMHO is - and I might be mistaken, thats just what I found after much digging - that sources from PKGBUILD get downloaded directly to ~/.cache/sources

So in your case, LICENSE-MIT get downloaded to ~/.cache/sources/LICENSE-MIT

And when some other AUR package do the same (and many do) and is installed before yours, you'll get checksum fail because usually there is name of author and year in license. I'm not sure if this is problem only in yay which I'm using, or if every AUR helper works same. I don't understand why, by default, every source isn't unpacked to package directory, but it doesn't.

tee commented on 2024-02-04 06:37 (UTC)

@kepi The download checksum was correct at the time of release, they must have silently re-released it after I updated the package here.

Regarding the license files, they reside in their own package specific directory and should not be overwritten by other packages, otherwise pacman will warn. They may get updated if the developers bump the license year in the file.

I've done a clean build to verify this. :)

kepi commented on 2024-02-03 17:51 (UTC) (edited on 2024-02-03 17:51 (UTC) by kepi)

I'm getting failed checksum for zip file for couple days now. I also noticed, that you are using unnamed sources for licenses, which means that they will get overwritten by other packages, who are using same approach. See more in my comment

Here is patch which fixes both issues (assuming that I'm getting correct file from github and not spoofed one...).

--- PKGBUILD.orig   2024-02-03 18:38:16.911999098 +0100
+++ PKGBUILD    2024-02-03 18:39:28.110157323 +0100
@@ -9,15 +9,15 @@
license=('MIT' 'UNLICENSE')
-source=("$url/raw/$pkgver/LICENSE-MIT" "$url/raw/$pkgver/UNLICENSE")
+source=("qsv-LICENSE-MIT::$url/raw/$pkgver/LICENSE-MIT" "qsv-UNLICENSE::$url/raw/$pkgver/UNLICENSE")

package() {
    install -Dm0755 "$_pkg" "$pkgdir/usr/bin/$_pkg"
-   install -Dm644 "LICENSE-MIT" -t "$pkgdir/usr/share/licenses/${pkgname}/"
-   install -Dm644 "UNLICENSE" -t "$pkgdir/usr/share/licenses/${pkgname}/"
+   install -Dm644 "qsv-LICENSE-MIT" -t "$pkgdir/usr/share/licenses/${pkgname}/LICENSE-MIT"
+   install -Dm644 "qsv-UNLICENSE" -t "$pkgdir/usr/share/licenses/${pkgname}/UNLICENSE"
# vim:set noet sts=0 sw=4 ts=4 ft=PKGBUILD: