Package Details: jet-bin 0.4.23-1

Git Clone URL: (read-only, click to copy)
Package Base: jet-bin
Description: CLI to transform between JSON, EDN and Transit, powered with a minimal query language.
Upstream URL:
Licenses: EPL
Conflicts: jet
Provides: jet
Submitter: ngrunwald
Maintainer: dharrigan
Last Packager: dharrigan
Votes: 4
Popularity: 0.000019
First Submitted: 2019-12-22 01:08 (UTC)
Last Updated: 2023-01-27 21:31 (UTC)

Latest Comments

dharrigan commented on 2021-07-30 11:45 (UTC)

Thank you for the tip! Will apply! :-)

alerque commented on 2021-07-30 11:45 (UTC) (edited on 2021-07-30 11:47 (UTC) by alerque)

Some of your code could be considerably simplified. For example instead of:

install -Dm755 "${srcdir}/${pkgname%-bin}" "${pkgdir}/usr/bin/${pkgname%-bin}"


install -Dm0755 -t "$pkgdir/usr/bin/" "${pkgname%-bin}"

The package() function is garanteed to start in $srcdir, so that is unnecessarily specific, and you don't need to repeat the name of the file you are installing except in the event you are renaming it in the process.