mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
parent
315b0abd5c
commit
a879218a55
1 changed files with 4 additions and 6 deletions
|
@ -1,15 +1,13 @@
|
|||
# Template file for 'micro'
|
||||
pkgname=micro
|
||||
version=2.0.2
|
||||
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=c51f84955e5fe924c34b4f7e06d17cd8731022cf
|
||||
revision=2
|
||||
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)'"
|
||||
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>"
|
||||
|
|
Loading…
Add table
Reference in a new issue