void-packages/srcpkgs/doctl/template
2022-04-09 12:27:25 +02:00

17 lines
765 B
Bash

# Template file for 'doctl'
pkgname=doctl
version=1.73.0
revision=1
build_style=go
go_import_path="github.com/digitalocean/doctl/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"
distfiles="https://github.com/digitalocean/doctl/archive/v${version}.tar.gz"
checksum=cc7a6f91febf4d40f8afca0fe4ddfa7aa9be3572e3a0124fca2865e35b52ef00