void-packages/srcpkgs/micro/template

22 lines
731 B
Bash

# Template file for 'micro'
pkgname=micro
version=2.0.3
revision=1
build_style=go
go_import_path="github.com/zyedidia/micro"
go_package="${go_import_path}/cmd/micro"
go_ldflags="-X github.com/zyedidia/micro/internal/util.Version=${version}"
# Adding CompuileDate is bad reproducibility and adding CommitHash
# is redundant as we use a tag to build the package.
hostmakedepends="git"
short_desc="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/archive/v${version}.tar.gz"
checksum=5924ad1af80417907e403482af49bc709087221538ddfdd9bb54d966551a0460
post_install() {
vlicense LICENSE
}