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

Orhun Parmaksiz orhun at gemini.archlinux.org
Sun Jan 16 12:20:05 UTC 2022


    Date: Sunday, January 16, 2022 @ 12:20:04
  Author: orhun
Revision: 1106228

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 44 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-16 12:19:53 UTC (rev 1106227)
+++ PKGBUILD	2022-01-16 12:20:04 UTC (rev 1106228)
@@ -1,39 +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.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:

Copied: lsd/repos/community-x86_64/PKGBUILD (from rev 1106227, lsd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-16 12:20:04 UTC (rev 1106228)
@@ -0,0 +1,44 @@
+# 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.21.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=('cargo' 'pandoc')
+source=(https://github.com/Peltoche/lsd/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('f500c18221f9c3fd45f88f6f764001e99cf9d6d74af9172cbb9a9ff32f3e5c7d')
+sha512sums=('7c80e33fe930c0265a63852e1f0f9201c7df1e4bd25339fc8a8eda30fd51ba32aeca19fbae1aae60e83ba0c7011981b2173c8573b1df12361a9e9a155af47bd4')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  SHELL_COMPLETIONS_DIR=completions cargo build --release --frozen
+  pandoc "doc/$pkgname.md" --standalone --to=man -o "doc/$pkgname.1"
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  cargo test --frozen
+}
+
+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