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

Levente Polyak anthraxx at archlinux.org
Fri Jan 18 20:13:35 UTC 2019


    Date: Friday, January 18, 2019 @ 20:13:34
  Author: anthraxx
Revision: 424170

archrelease: copy trunk to community-x86_64

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

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

Copied: lsd/repos/community-x86_64/PKGBUILD (from rev 424169, lsd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-18 20:13:34 UTC (rev 424170)
@@ -0,0 +1,32 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
+
+pkgname=lsd
+pkgver=0.11.1
+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')
+makedepends=('rust' 'cargo')
+source=(https://github.com/Peltoche/lsd/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('751098ff9296559b75d2c849194418c368c722a22021015d5adbb6c0a4b56dabff4a7597b821cb57ca928ffb635015f08e20e052f8926016f48788a6dbf20fd2')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cargo build --release
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  cargo test --release
+}
+
+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