void-packages/srcpkgs/go-jira/template

24 lines
627 B
Bash
Raw Normal View History

2015-12-20 18:56:59 +00:00
# Template file for 'go-jira'
pkgname=go-jira
2017-04-25 10:44:13 +00:00
version=0.1.13
revision=1
2015-12-20 18:56:59 +00:00
build_style=go
2016-02-19 20:37:12 +00:00
hostmakedepends="git-perl"
2015-12-20 18:56:59 +00:00
short_desc="Simple jira command line client in Go"
2017-04-06 16:52:20 +00:00
maintainer="Andrea Brancaleoni <abc@pompel.me>"
2015-12-20 18:56:59 +00:00
license="Apache"
2015-12-20 19:08:28 +00:00
go_import_path="github.com/Netflix-Skunkworks/go-jira"
2016-01-24 11:23:38 +00:00
go_package="$go_import_path/main"
2015-12-20 19:08:28 +00:00
homepage="https://$go_import_path"
2016-01-24 11:23:38 +00:00
distfiles="$homepage/archive/v$version.tar.gz"
2017-04-25 10:44:13 +00:00
checksum=da80d2f8d2eeea411c191e9767d5b9d3eb87ad7e9710703a07aee75a1cb78824
2017-02-10 09:22:56 +00:00
pre_build() {
git config --global http.https://gopkg.in.followRedirects true
}
2016-01-24 11:23:38 +00:00
post_install() {
mv $DESTDIR/usr/bin/{main,jira}
vlicense LICENSE
}