Date: Tuesday, August 18, 2020 @ 21:33:48 Author: maximbaz Revision: 684858
upgpkg: nnn 3.4-1, run shfmt Modified: nnn/trunk/PKGBUILD ----------+ PKGBUILD | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-08-18 20:48:17 UTC (rev 684857) +++ PKGBUILD 2020-08-18 21:33:48 UTC (rev 684858) @@ -4,51 +4,51 @@ # Contributor: John Jenkins <[email protected]> pkgname=nnn -pkgver=3.3 -pkgrel=3 +pkgver=3.4 +pkgrel=1 pkgdesc="The fastest terminal file manager ever written." arch=('x86_64') depends=('bash') optdepends=( - 'atool: for more archive formats' - 'libarchive: for more archive formats' - 'zip: for zip archive format' - 'unzip: for zip archive format' - 'trash-cli: to trash files' - 'sshfs: mount remotes' - 'rclone: mount remotes' - 'fuse2: unmount remotes' - 'xdg-utils: desktop opener' + 'atool: for more archive formats' + 'libarchive: for more archive formats' + 'zip: for zip archive format' + 'unzip: for zip archive format' + 'trash-cli: to trash files' + 'sshfs: mount remotes' + 'rclone: mount remotes' + 'fuse2: unmount remotes' + 'xdg-utils: desktop opener' ) url="https://github.com/jarun/${pkgname}" license=('BSD') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "${pkgname}-${pkgver}.tar.gz.sig::${url}/releases/download/v${pkgver}/nnn-${pkgver}.tar.gz.sig") -sha256sums=('16b245cf984d81a7e35f1a6a6f52bede4810784f06074d69369f664efdf32aca' +sha256sums=('7803ae6e974aeb4008507d9d1afbcca8d084a435f36ff636b459ca50414930a1' 'SKIP') validpgpkeys=('BBAD0B2F3093A7C3377A8F6BA75979F35C080412') prepare() { - sed -i 's/install: all/install:/' "${pkgname}-${pkgver}/Makefile" + sed -i 's/install: all/install:/' "${pkgname}-${pkgver}/Makefile" } build() { - cd "${pkgname}-${pkgver}" - make + cd "${pkgname}-${pkgver}" + make } package() { - cd "${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" PREFIX=/usr install - make DESTDIR="${pkgdir}" PREFIX=/usr install-desktop + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" PREFIX=/usr install + make DESTDIR="${pkgdir}" PREFIX=/usr install-desktop - install -Dm644 misc/auto-completion/fish/nnn.fish "${pkgdir}/usr/share/fish/vendor_completions.d/nnn.fish" - 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 misc/auto-completion/fish/nnn.fish "${pkgdir}/usr/share/fish/vendor_completions.d/nnn.fish" + 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 -t "${pkgdir}/usr/share/nnn/quitcd/" misc/quitcd/* - cp -a plugins "${pkgdir}/usr/share/nnn/plugins/" + cp -a plugins "${pkgdir}/usr/share/nnn/plugins/" - install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE }
