blob: c850a3154b1a611a32323252e16b33302801bfde (
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
39
40
41
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Xavier Portilla Edo <xavierportillaedo at gmail dot com>
pkgname='cxcli-bin'
pkgver=1.238.7
pkgrel=1
pkgdesc='The missing CLI for your Dialogflow CX projects'
url='https://cxcli.xavidop.me'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('Apache-2.0')
provides=('dialogflow-cx-cli')
conflicts=('dialogflow-cx-cli')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/xavidop/dialogflow-cx-cli/releases/download/v1.238.7/cxcli_Linux_arm64.tar.gz")
sha256sums_aarch64=('d614972932b1ec9fdca3a2537a77bc018dd7a1e294329f2f0b7b29d3d1fb1304')
source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/xavidop/dialogflow-cx-cli/releases/download/v1.238.7/cxcli_Linux_armv7.tar.gz")
sha256sums_armv7h=('c332638b10fb72027870af148e9908f88b21948ad0d9108b2a9475fad7576c61')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/xavidop/dialogflow-cx-cli/releases/download/v1.238.7/cxcli_Linux_i386.tar.gz")
sha256sums_i686=('1b7b0acea160a729dc0507adc4f21cd9946785daa52f4d98b282c103037804a5')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/xavidop/dialogflow-cx-cli/releases/download/v1.238.7/cxcli_Linux_x86_64.tar.gz")
sha256sums_x86_64=('ce82b03b043a1c81db21c1a67f49db5191260e1bdc9cd7db06a4a42539de215c')
package() {
# bin
install -Dm755 "./cxcli" "${pkgdir}/usr/bin/cxcli"
# license
install -Dm644 "./LICENSE.md" "${pkgdir}/usr/share/licenses/cxcli/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/cxcli.bash" "${pkgdir}/usr/share/bash-completion/completions/cxcli"
install -Dm644 "./completions/cxcli.zsh" "${pkgdir}/usr/share/zsh/site-functions/_cxcli"
install -Dm644 "./completions/cxcli.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/cxcli.fish"
# man pages
install -Dm644 "./manpages/cxcli.1.gz" "${pkgdir}/usr/share/man/man1/cxcli.1.gz"
}
|