Package Details: quicknav 1.5.0-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.000000
First Submitted: 2021-03-06 20:53 (UTC)
Last Updated: 2022-05-31 13:00 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

MrDogeBro commented on 2021-03-07 00:55 (UTC)

@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 (UTC)

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 (UTC) (edited on 2021-03-06 22:10 (UTC) by yochananmarqos)

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