Package Details: qsv-bin 0.127.0-1

Git Clone URL: https://aur.archlinux.org/qsv-bin.git (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: https://github.com/jqnatividad/qsv
Licenses: MIT, Unlicense
Conflicts: qsv
Provides: qsv
Submitter: tee
Maintainer: tee
Last Packager: tee
Votes: 1
Popularity: 0.003556
First Submitted: 2023-07-24 02:08 (UTC)
Last Updated: 2024-04-26 11:03 (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 https://aur.archlinux.org/packages/rotki-bin#comment-948226

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')
provides=('qsv')
conflicts=('qsv')
-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")
source_x86_64=("$url/releases/download/$pkgver/qsv-$pkgver-x86_64-unknown-linux-gnu.zip")
sha256sums=('08579b91a9557dcf2ec5085c2f4e01766c489e18f65128f854427796ad31acb4'
            '7e12e5df4bae12cb21581ba157ced20e1986a0508dd10d0e8a4ab9a4cf94e85c')
-sha256sums_x86_64=('abbdda60b5ada5f96b3fac590cb1cd09f58d64cda6670d983771325738f8a8b3')
+sha256sums_x86_64=('2dc754dd5a6dac62416c7cf87d79b7b7460d67aa1b50973dc02df4fa72eabd6f')

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: