20 lines
638 B
Bash
20 lines
638 B
Bash
# Template file for 'gotify-cli'
|
|
pkgname=gotify-cli
|
|
version=2.2.2
|
|
revision=2
|
|
build_style=go
|
|
go_import_path="github.com/gotify/cli/v2"
|
|
go_ldflags="-X main.Version=${version} -X main.BuildDate=${SOURCE_DATE_EPOCH}
|
|
-X main.Mode=prod"
|
|
short_desc="Command line interface for pushing messages to a Gotify server"
|
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
|
license="MIT"
|
|
homepage="https://gotify.net"
|
|
distfiles="https://github.com/gotify/cli/archive/v${version}.tar.gz"
|
|
checksum=d44d0058a87684db8c61a9952a84327f7bab102d6a4a16547f7be18b9a9c052c
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/cli ${DESTDIR}/usr/bin/gotify-cli
|
|
vlicense LICENSE
|
|
}
|