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