diff --git a/srcpkgs/micro/template b/srcpkgs/micro/template index b2ad5185592..aa242e1feb1 100644 --- a/srcpkgs/micro/template +++ b/srcpkgs/micro/template @@ -1,10 +1,15 @@ # Template file for 'micro' pkgname=micro version=1.2.0 -revision=1 +revision=2 +# This will need to be updated along with version as it cannot currently be +# obtained from the tarball, and is necessary if the user is to make error +# reports upsteam. +_commithash=be8124154b2b3e761578a186c42a18ace5a43865 build_style=go go_import_path="github.com/zyedidia/micro" go_package="${go_import_path}/cmd/micro" +go_ldflags="-X main.Version=${version} -X 'main.CommitHash=${_commithash}' -X 'main.CompileDate=$(date)'" hostmakedepends="git" short_desc="A modern and intuitive terminal-based text editor" maintainer="Diogo Leal "