makedeb
The fastest terminal file manager ever written.
Click here to go back to the commit logs for nnn-git.
Hash: df106ce7757c4ba1319d56e583d765bc38832646
Message: minor update
diff --git a/PKGBUILD b/PKGBUILD
index bd09bad..5868f1a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,7 +40,7 @@ build() {
package() {
#install the binary
- install -Dm755 "${srcdir}/nnn/nnn" "${pkgdir}/usr/local/bin/nnn"
+ install -Dm755 "${srcdir}/nnn/nnn" "${pkgdir}/usr/bin/nnn"
#install the man file
install -Dm644 "${srcdir}/nnn/nnn.1" "${pkgdir}/usr/share/man/man1"
# install auto-completion for fish,bash and zsh
@@ -48,12 +48,12 @@ package() {
install -Dm644 "${srcdir}/nnn/misc/auto-completion/bash/nnn-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/nnn"
install -Dm644 "${srcdir}/nnn/misc/auto-completion/zsh/_nnn" "${pkgdir}/usr/share/zsh/site-functions/_nnn"
#install the desktop icons
- install -Dm644 "${srcdir}/nnn/misc/desktop/nnn.desktop" "${pkgdir}/usr/local/share/applications/nnn.desktop"
- install -Dm644 "${srcdir}/nnn/misc/logo/logo.svg" "${pkgdir}/usr/local/share/icons/hicolor/scalable/apps/nnn.svg"
- install -Dm644 "${srcdir}/nnn/misc/logo/logo-64x64.png" "${pkgdir}/usr/local/share/icons/hicolor/64x64/apps/nnn.png"
+ install -Dm644 "${srcdir}/nnn/misc/desktop/nnn.desktop" "${pkgdir}/usr/share/applications/nnn.desktop"
+ install -Dm644 "${srcdir}/nnn/misc/logo/logo.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/nnn.svg"
+ install -Dm644 "${srcdir}/nnn/misc/logo/logo-64x64.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/nnn.png"
#install the license
install -Dm644 "${srcdir}/nnn/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
#install plugins
- mkdir -p "${pkgdir}/usr/share/${pkgname}/plugins"
+ install -d "${pkgdir}/usr/share/${pkgname}/plugins"
cp -vRf "${srcdir}/${_pkgname}/plugins" "${pkgdir}/usr/share/${pkgname}/"
}