void-packages/srcpkgs/micro/template
UsernameRandomlyGenerated 3a1071de3a micro: update to 2.0.10.
2021-08-10 09:47:15 -03:00

23 lines
887 B
Bash

# Template file for 'micro'
pkgname=micro
version=2.0.10
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 CompileDate is bad for reproducibility and adding CommitHash
# is redundant as we use a tag to build the package.
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=d849751fcd70eba48bf3e15c3cc665f818fe77e5ac7819d0afe2123dc258aedc
post_install() {
vlicense LICENSE
vman assets/packaging/micro.1
vinstall assets/packaging/micro.desktop 644 usr/share/applications
vinstall assets/micro-logo-mark.svg 644 usr/share/pixmaps micro.svg
}