20 lines
635 B
Bash
20 lines
635 B
Bash
# Template file for 'gotify-cli'
|
|
pkgname=gotify-cli
|
|
version=2.2.3
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://gotify.net"
|
|
distfiles="https://github.com/gotify/cli/archive/v${version}.tar.gz"
|
|
checksum=9446aa09a675bca2a8fd0448e6c45e28630e31f7578cc9e1587d09f24e59f66a
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/cli ${DESTDIR}/usr/bin/gotify-cli
|
|
vlicense LICENSE
|
|
}
|