From edee07a7ce460a5352fa59824a115d3a84474431 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Sun, 7 Oct 2018 16:45:58 -0400 Subject: [PATCH] dnote-cli: update to 0.4.4. --- srcpkgs/dnote-cli/template | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/srcpkgs/dnote-cli/template b/srcpkgs/dnote-cli/template index 74cfd3ffb1b..b5182bdca75 100644 --- a/srcpkgs/dnote-cli/template +++ b/srcpkgs/dnote-cli/template @@ -1,18 +1,27 @@ # Template file for 'dnote-cli' pkgname=dnote-cli -version=0.2.1 -revision=5 +version=0.4.4 +revision=1 wrksrc=cli-${version} build_style=go 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 " +maintainer="Toyam Cox " license="MIT" homepage="https://dnote.io/" distfiles="https://github.com/dnote-io/cli/archive/v${version}.tar.gz" -checksum=8a22fd2013f027162caf6482f2f82ec6ad1c7086006fadbcffd4159e1126891d +checksum=6e6cb9a28aeb81f7751e9439fdeafa7eab9d0e5e643b2d569240141a6f860180 + +pre_build() { + cd $GOSRCPATH + dep ensure +} post_install() { vlicense LICENSE } + +do_check() { + ./scripts/test.sh +}