summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a210c99a0c074bd09756c95a01239b3dbf8dc563 (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
33
34
# Maintainer: Hoàng Văn Khải <hvksmr1996@gmail.com>

# This file is automatically generated. Do not edit.

pkgname=parallel-disk-usage-bin
pkgver=0.9.2
source=(pdu-f6e9497979be26ad3dcef389287945e55ac70b51::https://github.com/KSXGitHub/parallel-disk-usage/releases/download/0.9.2/pdu-x86_64-unknown-linux-gnu completion.0.9.2.bash::https://github.com/KSXGitHub/parallel-disk-usage/releases/download/0.9.2/completion.bash completion.0.9.2.fish::https://github.com/KSXGitHub/parallel-disk-usage/releases/download/0.9.2/completion.fish completion.0.9.2.zsh::https://github.com/KSXGitHub/parallel-disk-usage/releases/download/0.9.2/completion.zsh https://raw.githubusercontent.com/KSXGitHub/parallel-disk-usage/0.9.2/README.md https://raw.githubusercontent.com/KSXGitHub/parallel-disk-usage/0.9.2/LICENSE)
_checksum=f6e9497979be26ad3dcef389287945e55ac70b51
_completion_checksums=(SKIP SKIP 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'
provides=(parallel-disk-usage)
conflicts=(parallel-disk-usage)
sha1sums=(
  "$_checksum"                  # for the pdu binary
  "${_completion_checksums[@]}" # for the completion files
  SKIP                          # for the readme file
  SKIP                          # for the license file
)

package() {
  install -Dm755 "pdu-$_checksum" "$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 "completion.$pkgver.bash" "$pkgdir/usr/share/bash-completion/completions/pdu"
  install -Dm644 "completion.$pkgver.fish" "$pkgdir/usr/share/fish/completions/pdu.fish"
  install -Dm644 "completion.$pkgver.zsh" "$pkgdir/usr/share/zsh/site-functions/_pdu"
}