void-packages/srcpkgs/go-jira/template
2017-02-10 10:22:56 +01:00

23 lines
630 B
Bash

# Template file for 'go-jira'
pkgname=go-jira
version=0.1.10
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=a4a7e27f34f6f16094fdd8b0d7c373b21c828d0c2a5a3990e9ff27d8b40c95ea
pre_build() {
git config --global http.https://gopkg.in.followRedirects true
}
post_install() {
mv $DESTDIR/usr/bin/{main,jira}
vlicense LICENSE
}