23 lines
630 B
Bash
23 lines
630 B
Bash
# Template file for 'go-jira'
|
|
pkgname=go-jira
|
|
version=0.1.11
|
|
revision=1
|
|
build_style=go
|
|
hostmakedepends="git-perl"
|
|
short_desc="Simple jira command line client in Go"
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
license="Apache"
|
|
go_import_path="github.com/Netflix-Skunkworks/go-jira"
|
|
go_package="$go_import_path/main"
|
|
homepage="https://$go_import_path"
|
|
distfiles="$homepage/archive/v$version.tar.gz"
|
|
checksum=40287dae1e542426352661e4fbf4f675f339a7d5d60a26a25fa5d6ac3378ea62
|
|
|
|
pre_build() {
|
|
git config --global http.https://gopkg.in.followRedirects true
|
|
}
|
|
|
|
post_install() {
|
|
mv $DESTDIR/usr/bin/{main,jira}
|
|
vlicense LICENSE
|
|
}
|