[arch-commits] Commit in lsd/trunk (PKGBUILD)

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


    Date: Sunday, March 7, 2021 @ 21:54:29
  Author: orhun
Revision: 886802

upgpkg: lsd 0.20.1-1: upstream release

Modified:
  lsd/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-07 21:35:43 UTC (rev 886801)
+++ PKGBUILD	2021-03-07 21:54:29 UTC (rev 886802)
@@ -3,7 +3,7 @@
 # Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
 
 pkgname=lsd
-pkgver=0.19.0
+pkgver=0.20.1
 pkgrel=1
 pkgdesc='Modern ls with a lot of pretty colors and awesome icons'
 url='https://github.com/Peltoche/lsd'
@@ -10,14 +10,15 @@
 arch=('x86_64')
 license=('Apache')
 depends=('gcc-libs' 'awesome-terminal-fonts')
-makedepends=('rust')
+makedepends=('rust' 'pandoc')
 source=(https://github.com/Peltoche/lsd/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('11e2c925562142d224eaa1c0d4ddec23989e5b8af93a747fe61389fba02cf808')
-sha512sums=('f9a1202f49b0e02746ba4034b199142a4b5224ba6cee8690a6fb01c18c046a26c531d0b4480838a28b3ca8de7ae522451bdc5ece43f902605a61f18571fb07fd')
+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() {
@@ -32,6 +33,7 @@
   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