[arch-commits] Commit in lsd/repos/community-x86_64 (PKGBUILD PKGBUILD)

Orhun Parmaksiz orhun at archlinux.org
Sun Mar 7 21:54:42 UTC 2021


    Date: Sunday, March 7, 2021 @ 21:54:42
  Author: orhun
Revision: 886803

archrelease: copy trunk to community-x86_64

Added:
  lsd/repos/community-x86_64/PKGBUILD
    (from rev 886802, lsd/trunk/PKGBUILD)
Deleted:
  lsd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 39 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-07 21:54:29 UTC (rev 886802)
+++ PKGBUILD	2021-03-07 21:54:42 UTC (rev 886803)
@@ -1,37 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
-
-pkgname=lsd
-pkgver=0.19.0
-pkgrel=1
-pkgdesc='Modern ls with a lot of pretty colors and awesome icons'
-url='https://github.com/Peltoche/lsd'
-arch=('x86_64')
-license=('Apache')
-depends=('gcc-libs' 'awesome-terminal-fonts')
-makedepends=('rust')
-source=(https://github.com/Peltoche/lsd/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('11e2c925562142d224eaa1c0d4ddec23989e5b8af93a747fe61389fba02cf808')
-sha512sums=('f9a1202f49b0e02746ba4034b199142a4b5224ba6cee8690a6fb01c18c046a26c531d0b4480838a28b3ca8de7ae522451bdc5ece43f902605a61f18571fb07fd')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  SHELL_COMPLETIONS_DIR=completions cargo build --release --locked
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  cargo test --release --locked
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
-  install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 "completions/${pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-  install -Dm 644 "completions/${pkgname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
-  install -Dm 644 "completions/_${pkgname}" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: lsd/repos/community-x86_64/PKGBUILD (from rev 886802, lsd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-07 21:54:42 UTC (rev 886803)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
+
+pkgname=lsd
+pkgver=0.20.1
+pkgrel=1
+pkgdesc='Modern ls with a lot of pretty colors and awesome icons'
+url='https://github.com/Peltoche/lsd'
+arch=('x86_64')
+license=('Apache')
+depends=('gcc-libs' 'awesome-terminal-fonts')
+makedepends=('rust' 'pandoc')
+source=(https://github.com/Peltoche/lsd/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('a2086aa049b8bd21c880f23b21b0e9ef21d3c3829d40641aa8810c08be936c19')
+sha512sums=('d4e340947c1d94fa675d85b8cf07df4be5da28441b0d93449d4ab266bdfae8a0556f98ec320c07b968094a07250dc9e41a0165d6c27fc153e5a1730bfeb5d549')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  SHELL_COMPLETIONS_DIR=completions cargo build --release --locked
+  pandoc "doc/$pkgname.md" --standalone --to=man -o "doc/$pkgname.1"
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  cargo test --release --locked
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
+  install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 "completions/${pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+  install -Dm 644 "completions/${pkgname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
+  install -Dm 644 "completions/_${pkgname}" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+  install -Dm 644 "doc/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list