summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f25d755e17780400aa87f616f95689e47b6095b3 (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.10.0
source=(pdu-f9401d5296ad2bd212756955e4ebad1fc2070c3f::https://github.com/KSXGitHub/parallel-disk-usage/releases/download/0.10.0/pdu-x86_64-unknown-linux-gnu completion.0.10.0.bash::https://github.com/KSXGitHub/parallel-disk-usage/releases/download/0.10.0/completion.bash completion.0.10.0.fish::https://github.com/KSXGitHub/parallel-disk-usage/releases/download/0.10.0/completion.fish completion.0.10.0.zsh::https://github.com/KSXGitHub/parallel-disk-usage/releases/download/0.10.0/completion.zsh https://raw.githubusercontent.com/KSXGitHub/parallel-disk-usage/0.10.0/README.md https://raw.githubusercontent.com/KSXGitHub/parallel-disk-usage/0.10.0/LICENSE)
_checksum=f9401d5296ad2bd212756955e4ebad1fc2070c3f
_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"
}