diff options
author | Csonka Mihaly | 2020-03-17 02:56:54 +0100 |
---|---|---|
committer | Csonka Mihaly | 2020-03-17 02:56:54 +0100 |
commit | 3be35c8eea469ff083d51d8f2411bc2f8f93bb56 (patch) | |
tree | 707adda88f1e7a087c26f97507db639a1d95dfc4 | |
parent | a876993fbe062f43af4bf7d20718c31b38e714ef (diff) | |
download | aur-3be35c8eea469ff083d51d8f2411bc2f8f93bb56.tar.gz |
Fix package install instructions.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | navi.install | 2 | ||||
-rw-r--r-- | navi.sh | 1 |
4 files changed, 7 insertions, 25 deletions
@@ -1,7 +1,7 @@ pkgbase = navi-git pkgdesc = An interactive cheatsheet tool for the command-line. - pkgver = r238.8d0c82c - pkgrel = 5 + pkgver = r000 + pkgrel = 1 url = https://github.com/denisidoro/navi install = navi.install arch = any @@ -13,11 +13,9 @@ pkgbase = navi-git provides = navi conflicts = navi source = navi-git::git+https://github.com/denisidoro/navi - source = navi.sh source = navi.install md5sums = SKIP - md5sums = 28d8acf7ed7a1387172526e91e7cb998 - md5sums = b21f1310f720472b20cbd15a8c67ccf9 + md5sums = 7c127df30b4800c8a340166cb9cb2066 pkgname = navi-git @@ -1,7 +1,7 @@ # Maintainer: Kibouo <csonka.mihaly@hotmail.com> pkgname=navi-git -pkgver=r238.8d0c82c -pkgrel=5 +pkgver=r305.cc8982f +pkgrel=1 pkgdesc='An interactive cheatsheet tool for the command-line.' arch=('any') url='https://github.com/denisidoro/navi' @@ -12,23 +12,14 @@ provides=('navi') conflicts=('navi') install='navi.install' source=("${pkgname}::git+${url}" - navi.sh navi.install) md5sums=('SKIP' - 28d8acf7ed7a1387172526e91e7cb998 - b7c360616920dc118ef2bca1d1bfc263) + 7c127df30b4800c8a340166cb9cb2066) pkgver() { cd "${pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -# Don't make rustc torture us even longer by re-compiling everything from scratch... -# CI pipelines are a thing anyways. -# check() { -# cd "${pkgname}" -# cargo test --release --locked -# } - build() { cd "${pkgname}" cargo +stable build --release --locked --all-features @@ -36,11 +27,5 @@ build() { package() { cd "${pkgname}" - - install -Dm755 "${srcdir}/navi.sh" "${pkgdir}/etc/profile.d/navi.sh" install -Dm755 "./target/release/navi" "${pkgdir}/usr/bin/navi" - - mkdir -p "${pkgdir}/etc/navi" - cp -r "./cheats" "${pkgdir}/etc/navi/cheats" - cp -r "./shell" "${pkgdir}/etc/navi/shell" } diff --git a/navi.install b/navi.install index e98d4a122298..27a5f6dc6ade 100644 --- a/navi.install +++ b/navi.install @@ -1,7 +1,7 @@ post_install() { echo " -Source the appropriate file from '/etc/navi/shell' in your shell's dotfile. This enables proper populating of shell history and editting commands before executing them. +Source shell plugins using 'navi widget [shell]' in your dotfile. This enables proper populating of shell history and editting commands before executing them. " } diff --git a/navi.sh b/navi.sh deleted file mode 100644 index 93a7b3b07a88..000000000000 --- a/navi.sh +++ /dev/null @@ -1 +0,0 @@ -export NAVI_PATH="/etc/navi/cheats" |