void-packages/srcpkgs/micro/template
2018-12-12 22:54:16 -02:00

24 lines
911 B
Bash

# Template file for 'micro'
pkgname=micro
version=1.4.1
revision=1
# 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=1856891622af0e4616288df6207451553622d465
wrksrc=micro
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 <diogo@diogoleal.com>"
license="MIT"
homepage="https://micro-editor.github.io"
distfiles="https://github.com/zyedidia/micro/releases/download/v${version}/micro-${version}-src.tar.gz"
checksum=0b516826226cf1ddf2fbb274f049cab456a5c162efe3d648f0871564fadcf812
post_install() {
vlicense LICENSE
}