blob: 0da11c1e03a6d761bb1509ab69e6a8e48edf90fb (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Carlos Alexandro Becker <carlos@becker.software>
pkgname='timer-bin'
pkgver=1.4.6
pkgrel=1
pkgdesc='Timer is like sleep, but reports progress.'
url='https://github.com/caarlos0/timer'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('timer')
conflicts=('timer')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/caarlos0/timer/releases/download/v1.4.6/timer_linux_arm64.tar.gz")
sha256sums_aarch64=('2666f26bb9b01c2200ea7e05fec4bdcb9e953a552531f0201d0edc7b634c3121')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/caarlos0/timer/releases/download/v1.4.6/timer_linux_amd64.tar.gz")
sha256sums_x86_64=('21a0e5e0dc9a4337af9b3363f1c120429b428f730e4364450a45df8e86d46597')
package() {
# bin
install -Dm755 "./timer" "${pkgdir}/usr/bin/timer"
# license
install -Dm644 "./LICENSE.md" "${pkgdir}/usr/share/licenses/timer/LICENSE"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
install -Dm644 "./completions/timer.bash" "${pkgdir}/usr/share/bash-completion/completions/timer"
install -Dm644 "./completions/timer.zsh" "${pkgdir}/usr/share/zsh/site-functions/_timer"
install -Dm644 "./completions/timer.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/timer.fish"
# man pages
install -Dm644 "./manpages/timer.1.gz" "${pkgdir}/usr/share/man/man1/timer.1.gz"
}
|