Date: Wednesday, December 4, 2019 @ 12:43:21 Author: maximbaz Revision: 535187
archrelease: copy trunk to community-x86_64 Added: nnn/repos/community-x86_64/PKGBUILD (from rev 535186, nnn/trunk/PKGBUILD) Deleted: nnn/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-04 12:42:45 UTC (rev 535186) +++ PKGBUILD 2019-12-04 12:43:21 UTC (rev 535187) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Pablo Arias <pabloaria...@gmail.com> -# Contributor: John Jenkins <twodopesha...@gmail.com> - -pkgname=nnn -pkgver=2.7 -pkgrel=2 -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' -) -url="https://github.com/jarun/${pkgname}" -license=('BSD') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jarun/nnn/archive/v${pkgver}.tar.gz") -sha256sums=('0592c7cbcf2cf66cacac49e9204636480820b1bc74e4187dd7ee06945a6d07c5') - -prepare() { - sed -i 's/install: all/install:/' "${pkgname}-${pkgver}/Makefile" -} - -build() { - cd "${pkgname}-${pkgver}" - make -} - -package() { - cd "${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" PREFIX=/usr install - - 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 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: nnn/repos/community-x86_64/PKGBUILD (from rev 535186, nnn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-04 12:43:21 UTC (rev 535187) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Pablo Arias <pabloaria...@gmail.com> +# Contributor: John Jenkins <twodopesha...@gmail.com> + +pkgname=nnn +pkgver=2.8 +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' +) +url="https://github.com/jarun/${pkgname}" +license=('BSD') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jarun/nnn/archive/v${pkgver}.tar.gz") +sha256sums=('95fd4b8b48f7aadc3bf6ab3f902adb7157a6985a5163bc1deb182d6c44ce6540') + +prepare() { + sed -i 's/install: all/install:/' "${pkgname}-${pkgver}/Makefile" +} + +build() { + cd "${pkgname}-${pkgver}" + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" PREFIX=/usr install + + 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 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}