[arch-commits] Commit in diskus/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon Nov 15 16:17:36 UTC 2021
Date: Monday, November 15, 2021 @ 16:17:36
Author: polyzen
Revision: 1048319
archrelease: copy trunk to community-x86_64
Added:
diskus/repos/community-x86_64/PKGBUILD
(from rev 1048318, diskus/trunk/PKGBUILD)
Deleted:
diskus/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 37 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-15 16:17:14 UTC (rev 1048318)
+++ PKGBUILD 2021-11-15 16:17:36 UTC (rev 1048319)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=diskus
-pkgver=0.6.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://static.crates.io/crates/diskus/diskus-$pkgver.crate")
-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:
Copied: diskus/repos/community-x86_64/PKGBUILD (from rev 1048318, diskus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-15 16:17:36 UTC (rev 1048319)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=diskus
+pkgver=0.7.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://static.crates.io/crates/diskus/diskus-$pkgver.crate")
+b2sums=('870a68e2fef66377ef6fdd3b5e5344c006ff029bd18a82413e2fc9e748766b17dcde451b48cb7122b6226e3a57dc85f87105066391c881b4310332d7a1f6c179')
+
+prepare() {
+ cd diskus-$pkgver
+ cargo fetch --locked
+}
+
+build() {
+ cd diskus-$pkgver
+ cargo build --release --locked --offline
+}
+
+check() {
+ cd diskus-$pkgver
+ cargo test --release --locked --offline
+}
+
+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