# Template file for 'twitch-cli'
pkgname=twitch-cli
version=1.1.25
revision=1
build_style=go
go_import_path="github.com/twitchdev/twitch-cli"
go_ldflags="-X main.buildVersion=$version"
short_desc="Official Twitch CLI to make developing on Twitch easier"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://dev.twitch.tv/docs/cli"
distfiles="https://github.com/twitchdev/twitch-cli/archive/refs/tags/v${version}.tar.gz"
checksum=63d13cd54b64e17237650d7aaadb1453fe28565f54111be056beb24d58831c67

# for pread64/pwrite64 in musl
CPPFLAGS="-D_LARGEFILE64_SOURCE"
