21 lines
737 B
Bash
21 lines
737 B
Bash
# Template file for 'micro'
|
|
pkgname=micro
|
|
version=2.0.6
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/zyedidia/micro/v2"
|
|
go_package="${go_import_path}/cmd/micro"
|
|
go_ldflags="-X github.com/zyedidia/micro/v2/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=55bd3ab880905d45639a1f902ec1a84cb385e73de9a3e16d8175b3cd7f7fe908
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|