New package: gotify-cli-2.2.1
This commit is contained in:
parent
90d6ccfcef
commit
df8147b0a5
1 changed files with 21 additions and 0 deletions
21
srcpkgs/gotify-cli/template
Normal file
21
srcpkgs/gotify-cli/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'gotify-cli'
|
||||||
|
pkgname=gotify-cli
|
||||||
|
version=2.2.1
|
||||||
|
revision=1
|
||||||
|
wrksrc="cli-$version"
|
||||||
|
build_style=go
|
||||||
|
go_import_path="github.com/gotify/cli/v2"
|
||||||
|
go_ldflags="-w -s -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=9013f4afdcc717932e71ab217e09daf4c48e153b23454f5e732ad0f74a8c8979
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
mv ${DESTDIR}/usr/bin/cli ${DESTDIR}/usr/bin/gotify-cli
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue