blob: d3295f66519a657c819c071a5dde16a22f22d2a0 (
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='tasktimer-bin'
pkgver=1.11.0
pkgrel=1
pkgdesc='Task Timer (tt) is a dead simple TUI task timer'
url='https://github.com/caarlos0/tasktimer'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('tt')
conflicts=('tt')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/caarlos0/tasktimer/releases/download/v1.11.0/tt_linux_arm64.tar.gz")
sha256sums_aarch64=('7433ff2e77407461e554197e79e1e67f7f8afef08daea38a9449a97def6fff6f')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/caarlos0/tasktimer/releases/download/v1.11.0/tt_linux_amd64.tar.gz")
sha256sums_x86_64=('4bc83e569433b69e1a791590488c15edc771a492ade02d828c77fcdcedac8e92')
package() {
# bin
install -Dm755 "./tt" "${pkgdir}/usr/bin/tt"
# license
install -Dm644 "./LICENSE.md" "${pkgdir}/usr/share/licenses/tt/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/tt.bash" "${pkgdir}/usr/share/bash-completion/completions/tt"
install -Dm644 "./completions/tt.zsh" "${pkgdir}/usr/share/zsh/site-functions/_tt"
install -Dm644 "./completions/tt.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/tt.fish"
# man pages
install -Dm644 "./manpages/tt.1.gz" "${pkgdir}/usr/share/man/man1/tt.1.gz"
}
|