[arch-commits] Commit in nnn/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 2 08:14:58 UTC 2021
Date: Wednesday, June 2, 2021 @ 08:14:58
Author: felixonmars
Revision: 953160
archrelease: copy trunk to community-x86_64
Added:
nnn/repos/community-x86_64/PKGBUILD
(from rev 953159, nnn/trunk/PKGBUILD)
Deleted:
nnn/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-02 08:14:47 UTC (rev 953159)
+++ PKGBUILD 2021-06-02 08:14:58 UTC (rev 953160)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Pablo Arias <pabloariasal at gmail.com>
-# Contributor: John Jenkins <twodopeshaggy at gmail.com>
-
-pkgname=nnn
-pkgver=4.0
-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::${url}/archive/v${pkgver}.tar.gz"
- "${pkgname}-${pkgver}.tar.gz.sig::${url}/releases/download/v${pkgver}/nnn-${pkgver}.tar.gz.sig")
-sha512sums=('fde552a31674c9bf50a2e98de4456621bdc97aee36cd5efd7ad0cc33959965d01469fb20b12868ebffd4c8da79990b502e26895cb5b047ac8821e2ca09b0a234'
- 'SKIP')
-validpgpkeys=('BBAD0B2F3093A7C3377A8F6BA75979F35C080412')
-
-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
- 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 -t "${pkgdir}/usr/share/nnn/quitcd/" misc/quitcd/*
-
- cp -a plugins "${pkgdir}/usr/share/nnn/plugins/"
-
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
-}
Copied: nnn/repos/community-x86_64/PKGBUILD (from rev 953159, nnn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-02 08:14:58 UTC (rev 953160)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Pablo Arias <pabloariasal at gmail.com>
+# Contributor: John Jenkins <twodopeshaggy at gmail.com>
+
+pkgname=nnn
+pkgver=4.1
+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::${url}/archive/v${pkgver}.tar.gz"
+ "${pkgname}-${pkgver}.tar.gz.sig::${url}/releases/download/v${pkgver}/nnn-${pkgver}.tar.gz.sig")
+sha512sums=('7a199f64129afd8e2d8c00b5848e19042a537013831828a0144c8d7a0ba8de408fb09e7b3c4ae0986864e4b24b064a65e439f26d1ab76661887fdf78571c46c0'
+ 'SKIP')
+validpgpkeys=('BBAD0B2F3093A7C3377A8F6BA75979F35C080412')
+
+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
+ 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 -t "${pkgdir}/usr/share/nnn/quitcd/" misc/quitcd/*
+
+ cp -a plugins "${pkgdir}/usr/share/nnn/plugins/"
+
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}
More information about the arch-commits
mailing list