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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Mar 28 16:55:12 UTC 2020


    Date: Saturday, March 28, 2020 @ 16:55:11
  Author: svenstaro
Revision: 605317

archrelease: copy trunk to community-x86_64

Added:
  dua-cli/repos/community-x86_64/
  dua-cli/repos/community-x86_64/PKGBUILD
    (from rev 605316, dua-cli/trunk/PKGBUILD)

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

Copied: dua-cli/repos/community-x86_64/PKGBUILD (from rev 605316, dua-cli/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-03-28 16:55:11 UTC (rev 605317)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: mexus <gilaldpellaeon at gmail.com>
+pkgname=dua-cli
+pkgver=2.3.9
+pkgrel=2
+pkgdesc="A tool to conveniently learn about the disk usage of directories, fast!"
+arch=('x86_64')
+url="https://github.com/Byron/dua-cli"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cargo')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Byron/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('6bba3407893162ca8db9e6573740aa0c9e03f70a0a8a21cee9e1e12c2680bdc9812fe539407ef515a635dce09c255305cedb536e4f6f2df40b7671545eab30b7')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  cargo build --release --locked
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm 755 "target/release/dua" "$pkgdir/usr/bin/dua"
+}



More information about the arch-commits mailing list