Package Details: quicknav 1.0.1-1

Git Clone URL: https://aur.archlinux.org/quicknav.git (read-only, click to copy)
Package Base: quicknav
Description: A way to quickly navigate your filesystem from the command line.
Upstream URL: https://github.com/MrDogeBro/quicknav
Licenses: MIT
Submitter: MrDogeBro
Maintainer: MrDogeBro
Last Packager: MrDogeBro
Votes: 1
Popularity: 0.46
First Submitted: 2021-03-06 20:53
Last Updated: 2021-05-11 21:01

Latest Comments

MrDogeBro commented on 2021-03-07 00:55

@yochananmarqos thanks for the feedback and help. I think that it is now building from source correctly. When I tested it out, it was building from source now so thanks.

yochananmarqos commented on 2021-03-07 00:20

Building should not be done in the package() function as it's a fakeroot environment. It should be in the build() function. Since MIT is not a common license already present in the system, it also should be installed:

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  cargo build --release
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  install -Dm755 "target/release/$pkgname" -t "$pkgdir/usr/bin/"
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}

yochananmarqos commented on 2021-03-06 22:10

This needs to build from source, see Rust package guidelines. Binaries should be submitted with a -bin extension.