blob: ffb97c03523ff87c7a9ca6a41349f3b8c216ee36 (
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
35
36
37
38
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Chmouel Boudjnah <chmouel@chmouel.com>
pkgname='gosmee-bin'
pkgver=0.21.0
pkgrel=1
pkgdesc='gosmee - A webhook and https://smee.io forwarder'
url='https://github.com/chmouel/gosmee'
arch=('aarch64' 'x86_64')
license=('Apache 2.0')
provides=('gosmee')
conflicts=('gosmee')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/chmouel/gosmee/releases/download/v0.21.0/gosmee_0.21.0_linux_arm64.tar.gz")
sha256sums_aarch64=('82b52f0251d4962691209c48d5ef79f917c24ad12532600cea340a5b17b6b715')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/chmouel/gosmee/releases/download/v0.21.0/gosmee_0.21.0_linux_x86_64.tar.gz")
sha256sums_x86_64=('33c6fecb12888eec51e031212defacdf89c981c630f8dd46cf9c4c7f2b771478')
package() {
# bin
install -Dm755 "./gosmee" "${pkgdir}/usr/bin/gosmee"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/gosmee/LICENSE"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
for i in zsh bash fish;do
./gosmee completion ${i} > gosmee.${i}
done
install -Dm644 "gosmee.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/gosmee"
install -Dm644 "gosmee.bash" "${pkgdir}/usr/share/bash-completion/completions/gosmee"
install -Dm644 "gosmee.zsh" "${pkgdir}/usr/share/zsh/site-functions/_gosmee"
}
|