# Maintainer: MrDogeBro pkgname=quicknav pkgver=1.0.1 pkgrel=1 pkgdesc="A way to quickly navigate your filesystem from the command line." url="https://github.com/MrDogeBro/quicknav" license=("MIT") arch=("x86_64") makedepends=("cargo") source=("$pkgname-v$pkgver.tar.gz::https://github.com/MrDogeBro/$pkgname/archive/v$pkgver.tar.gz") sha256sums=("a8996a6bd2b20ecfc45773f80883f18ae9aaf31fd9a36104ed1b4afa24244721") build() { cd "$pkgname-$pkgver" cargo build --release --all-features } package() { cd "$pkgname-$pkgver" install -Dm755 target/release/$pkgname -t "$pkgdir/usr/bin/" install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" }