dnote-cli: rename binary from cli to dnote like it is upstream

This commit is contained in:
maxice8 2018-10-08 04:41:02 -03:00 committed by Toyam Cox
parent 77750bb9fe
commit 7f9a000287
1 changed files with 6 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'dnote-cli' # Template file for 'dnote-cli'
pkgname=dnote-cli pkgname=dnote-cli
version=0.4.4 version=0.4.4
revision=1 revision=2
wrksrc=cli-${version} wrksrc="cli-${version}"
build_style=go build_style=go
go_import_path="github.com/dnote-io/cli" go_import_path=github.com/dnote-io/cli
hostmakedepends="git dep" hostmakedepends="git dep"
short_desc="Capture what you learn as you code without leaving the command line" short_desc="Capture what you learn as you code without leaving the command line"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>" maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
@ -20,6 +20,9 @@ pre_build() {
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
# Rename the bianry form cli to dnote
mv ${DESTDIR}/usr/bin/{cli,dnote}
} }
do_check() { do_check() {