[arch-commits] Commit in lsd/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:53:23 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:53:23
  Author: felixonmars
Revision: 659463

archrelease: copy trunk to community-staging-x86_64

Added:
  lsd/repos/community-staging-x86_64/
  lsd/repos/community-staging-x86_64/PKGBUILD
    (from rev 659462, lsd/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: lsd/repos/community-staging-x86_64/PKGBUILD (from rev 659462, lsd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:53:23 UTC (rev 659463)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
+
+pkgname=lsd
+pkgver=0.16.0
+pkgrel=2
+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' 'cargo')
+source=(https://github.com/Peltoche/lsd/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('e2406748d78431a1c03bdd2404a204a006c19905d926e41a36587b93a791e003')
+sha512sums=('562c070d3e716af26ff3a54632cd176a1b95471fbb7e947f8175f89df483ff5b337d1a0d7578fa6ee41f77fa7ed1a618d37e91ebf1b8428e6a857918b415aa39')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  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}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list