blob: 9315ae074d6c36a452e68819ec9ae733950322e9 (
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
|
# Maintainer: Arturo Penen <apenen@gmail.com>
# Contributor: David Birks <david@birks.dev>
# Contributor: Jacob Mason <jacob@jacobmason.net>
pkgname=jx
pkgver=3.10.132
pkgrel=1
pkgdesc='Command line tool for working with Jenkins X'
arch=('x86_64')
url='https://github.com/jenkins-x/jx'
license=('Apache')
makedepends=('go')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jenkins-x/jx/archive/v$pkgver.tar.gz")
sha256sums=('48d6d2ba661e2908189708d6c8dbc68674870066b8dd1e4b2bac51dd1e064e31')
build() {
cd $pkgname-$pkgver
export VERSION=$pkgver
make build
}
package() {
install -Dm 755 "${srcdir}/$pkgname-$pkgver/build/jx" "${pkgdir}/usr/bin/jx"
## Populate bash and zsh completions
#install -dm 755 "${pkgdir}/usr/share/bash-completion/completions"
#install -dm 755 "${pkgdir}/usr/share/zsh/site-functions"
#"${pkgdir}/usr/bin/jx" completion bash > "${pkgdir}/usr/share/bash-completion/completions/jx"
#"${pkgdir}/usr/bin/jx" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_jx"
}
|