blob: 480553c9eb830680c7d9cdb4824915afe3dc88ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Hoàng Văn Khải <hvksmr1996@gmail.com>
# This file is automatically generated. Do not edit.
pkgname=parallel-disk-usage
pkgver=0.11.0
source=(parallel-disk-usage-0.11.0.tar.gz::https://github.com/KSXGitHub/parallel-disk-usage/archive/0.11.0.tar.gz)
sha1sums=(SKIP)
# This PKGBUILD is not a full PKGBUILD
# pkgname, pkgver, source, and sha1sums are to be generated
pkgdesc='Summarize disk usage of the set of files, recursively for directories.'
pkgrel=1
arch=(x86_64)
license=(Apache-2.0)
url='https://github.com/KSXGitHub/parallel-disk-usage'
makedepends=(cargo)
build() {
cd "$srcdir/parallel-disk-usage-$pkgver"
cargo build --release --locked --bin pdu
}
package() {
cd "$srcdir/parallel-disk-usage-$pkgver"
install -Dm755 target/release/pdu "$pkgdir/usr/bin/pdu"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 exports/completion.bash "$pkgdir/usr/share/bash-completion/completions/pdu"
install -Dm644 exports/completion.fish "$pkgdir/usr/share/fish/completions/pdu.fish"
install -Dm644 exports/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_pdu"
}
|