Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67562 - [nnn] package quicd scripts
Attached to Project:
Community Packages
Opened by Pierre Carru (pierrec) - Wednesday, 12 August 2020, 13:07 GMT
Last edited by Maxim Baz (maximbaz) - Wednesday, 12 August 2020, 15:05 GMT
Opened by Pierre Carru (pierrec) - Wednesday, 12 August 2020, 13:07 GMT
Last edited by Maxim Baz (maximbaz) - Wednesday, 12 August 2020, 15:05 GMT
|
DetailsHi,
This patch packages the misc/quicd files for the cd on quit behaviour (see https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit ) ```diff Index: nnn/trunk/PKGBUILD =================================================================== --- nnn/trunk/PKGBUILD (revision 676344) +++ nnn/trunk/PKGBUILD (working copy) @@ -45,5 +45,7 @@ install -Dm644 misc/auto-completion/bash/nnn-completion.bash "${pkgdir}/usr/share/bash-completion/completions/nnn" install -Dm644 misc/auto-completion/zsh/_nnn "${pkgdir}/usr/share/zsh/site-functions/_nnn" + install -Dm644 -t "${pkgdir}/usr/share/nnn/quitcd" misc/quitcd/* + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } ``` Cheers, Pierre |
This task depends upon
Closed by Maxim Baz (maximbaz)
Wednesday, 12 August 2020, 15:05 GMT
Reason for closing: Implemented
Additional comments about closing: Done in 3.3-2, thanks again
Wednesday, 12 August 2020, 15:05 GMT
Reason for closing: Implemented
Additional comments about closing: Done in 3.3-2, thanks again
I can make a patch
I took the cp from https://lists.archlinux.org/pipermail/aur-general/2011-November/016778.html
```
Index: nnn/trunk/PKGBUILD
===================================================================
--- nnn/trunk/PKGBUILD (revision 676360)
+++ nnn/trunk/PKGBUILD (working copy)
@@ -45,5 +45,8 @@
install -Dm644 misc/auto-completion/bash/nnn-completion.bash "${pkgdir}/usr/share/bash-completion/completions/nnn"
install -Dm644 misc/auto-completion/zsh/_nnn "${pkgdir}/usr/share/zsh/site-functions/_nnn"
+ install -Dm644 -t "${pkgdir}/usr/share/nnn/quitcd" misc/quitcd/*
+ cp -dr --preserve=mode,timestamp plugins/ "${pkgdir}/usr/share/nnn/plugins"
+
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
```