blob: cb0b0170a354db8df44cb4407286d4b4112b6caf (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Chmouel Boudjnah <chmouel@chmouel.com>
pkgname='tkn-pac'
pkgver=0.17.2
pkgrel=1
pkgdesc='tkn-pac - A command line interface for interacting with Pipelines as Code'
url='https://pipelinesascode.com'
arch=('aarch64' 'x86_64')
license=('Apache 2.0')
provides=('pipelines-as-code')
conflicts=('pipelines-as-code')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/openshift-pipelines/pipelines-as-code/releases/download/0.9.0/tkn-pac_0.9.0_Linux_arm64.tar.gz")
sha256sums_aarch64=('b15b8e12981b6ee97452ffe7b21f094b66c7e97fd94ae258889fc8fb170582e8')
sha256sums_x86_64=('6d77676be23b7e0ddb3d535076f90cafe29b2b9d8b86c6ff0e1b1e4a67034f97')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/openshift-pipelines/pipelines-as-code/releases/download/0.9.0/tkn-pac_0.9.0_Linux_x86_64.tar.gz")
package() {
# bin
install -Dm755 "./tkn-pac" "${pkgdir}/usr/bin/tkn-pac"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/tkn-pac/LICENSE"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
./tkn-pac completion zsh > tkn-pac.zsh
./tkn-pac completion bash > tkn-pac.bash
install -Dm644 "tkn-pac.bash" "${pkgdir}/usr/share/bash-completion/completions/tkn-pac"
install -Dm644 "tkn-pac.zsh" "${pkgdir}/usr/share/zsh/site-functions/_tkn-pac"
}
|