[arch-commits] Commit in diskus/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Sat Sep 21 15:47:37 UTC 2019
Date: Saturday, September 21, 2019 @ 15:47:36
Author: polyzen
Revision: 511368
archrelease: copy trunk to community-x86_64
Added:
diskus/repos/community-x86_64/PKGBUILD
(from rev 511367, diskus/trunk/PKGBUILD)
Deleted:
diskus/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++--------------------------
1 file changed, 32 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-21 15:47:13 UTC (rev 511367)
+++ PKGBUILD 2019-09-21 15:47:36 UTC (rev 511368)
@@ -1,26 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=diskus
-pkgver=0.5.0
-pkgrel=2
-pkgdesc="Minimal, fast alternative to 'du -sh'"
-arch=('x86_64')
-url=https://github.com/sharkdp/diskus
-license=('Apache' 'MIT')
-depends=('gcc-libs')
-makedepends=('rust')
-source=("diskus-$pkgver.tar.gz::https://crates.io/api/v1/crates/diskus/$pkgver/download")
-sha512sums=('f2c3cf84732790a8a47bfeee4054f05c4a81f714b2bc0e6ed4db80e1d0ad7449b72382dfdbd266fb9900228c4dd546396ee5af26b3db43b4c2aea1c6ea4ec1ea')
-
-build() {
- cd diskus-$pkgver
- cargo build --release
-}
-
-package() {
- cd diskus-$pkgver
- install -Dt "$pkgdir"/usr/bin target/release/diskus
- install -Dm644 LICENSE-MIT "$pkgdir"/usr/share/licenses/diskus/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: diskus/repos/community-x86_64/PKGBUILD (from rev 511367, diskus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-21 15:47:36 UTC (rev 511368)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=diskus
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Minimal, fast alternative to 'du -sh'"
+arch=('x86_64')
+url=https://github.com/sharkdp/diskus
+license=('Apache' 'MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("diskus-$pkgver.tar.gz::https://crates.io/api/v1/crates/diskus/$pkgver/download")
+sha512sums=('c532de84356f43109242805b47f6154b0f837c176e5aa016c5f2c221ff2b77da91511cc6e01351924f38cffd5f26c7e8740a4475def1f7cbcffc29501c3321b1')
+
+build() {
+ cd diskus-$pkgver
+ cargo build --release --locked
+}
+
+check() {
+ cd diskus-$pkgver
+ cargo test --release --locked
+}
+
+package() {
+ cd diskus-$pkgver
+ install -Dt "$pkgdir"/usr/bin target/release/diskus
+ install -Dm644 -t "$pkgdir"/usr/share/man/man1 doc/diskus.1
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/diskus LICENSE-MIT
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list