20 lines
855 B
Bash
20 lines
855 B
Bash
# Template file for 'doctl'
|
|
pkgname=doctl
|
|
version=1.98.0
|
|
revision=2
|
|
build_style=go
|
|
go_import_path="github.com/digitalocean/doctl"
|
|
go_package="${go_import_path}/cmd/doctl"
|
|
_maj_min=${version%*.*}
|
|
_major=${_maj_min%.*}
|
|
_minor=${_maj_min#*.}
|
|
_patch=${version#*.*.*}
|
|
go_ldflags="-X github.com/digitalocean/doctl.Major=$_major -X github.com/digitalocean/doctl.Minor=$_minor -X github.com/digitalocean/doctl.Patch=$_patch -X github.com/digitalocean/doctl.Label=voidlinux"
|
|
short_desc="Command line tool for DigitalOcean services"
|
|
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/digitalocean/doctl"
|
|
changelog="https://github.com/digitalocean/doctl/releases"
|
|
distfiles="https://github.com/digitalocean/doctl/archive/v${version}.tar.gz"
|
|
checksum=3a59fb478928d8c82743b12f664a598b1e917b348cbb524c412ce6b46e9f8ce2
|