void-packages/srcpkgs/go-jira/template
2017-05-29 14:10:34 +02:00

23 lines
627 B
Bash

# Template file for 'go-jira'
pkgname=go-jira
version=0.1.14
revision=2
build_style=go
hostmakedepends="git-perl"
short_desc="Simple jira command line client in Go"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
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=561f388a0dcb6da531469fa913f9e5377f30f406b2afab78f6a0dd66b5352384
pre_build() {
git config --global http.https://gopkg.in.followRedirects true
}
post_install() {
mv $DESTDIR/usr/bin/{main,jira}
vlicense LICENSE
}