blob: 7afe4c67f44a3cc800b25706966dace5f8f39605 (
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.22.1
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.22.1/gosmee_0.22.1_linux_arm64.tar.gz")
sha256sums_aarch64=('d9cbced7b938b7d8136fdcd9f57fbda0554a68f7cd5c84699c66b09b6ec6a677')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/chmouel/gosmee/releases/download/v0.22.1/gosmee_0.22.1_linux_x86_64.tar.gz")
sha256sums_x86_64=('e1162420b4943db58dcd753cffa18cede1e57e1e02cca5b2a1a7678080efb16a')
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"
}
|