# Template file for 'dnote-cli' pkgname=dnote-cli version=0.4.8 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 " license="MIT" homepage="https://dnote.io/" distfiles="https://github.com/dnote-io/cli/archive/v${version}.tar.gz" checksum=77b71ad1e43c62063467042d2045410ceaee0485ae53285a5f254711feed43f3 pre_build() { cd $GOSRCPATH dep ensure } post_install() { vlicense LICENSE # Rename the bianry form cli to dnote mv ${DESTDIR}/usr/bin/{cli,dnote} } do_check() { ./scripts/test.sh }