From 7f9a0002874377b322aada650091db8cd51996c1 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 8 Oct 2018 04:41:02 -0300 Subject: [PATCH] dnote-cli: rename binary from cli to dnote like it is upstream --- srcpkgs/dnote-cli/template | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/dnote-cli/template b/srcpkgs/dnote-cli/template index b5182bdca75..020f94bf789 100644 --- a/srcpkgs/dnote-cli/template +++ b/srcpkgs/dnote-cli/template @@ -1,10 +1,10 @@ # Template file for 'dnote-cli' pkgname=dnote-cli version=0.4.4 -revision=1 -wrksrc=cli-${version} +revision=2 +wrksrc="cli-${version}" build_style=go -go_import_path="github.com/dnote-io/cli" +go_import_path=github.com/dnote-io/cli hostmakedepends="git dep" short_desc="Capture what you learn as you code without leaving the command line" maintainer="Toyam Cox " @@ -20,6 +20,9 @@ pre_build() { post_install() { vlicense LICENSE + + # Rename the bianry form cli to dnote + mv ${DESTDIR}/usr/bin/{cli,dnote} } do_check() {