mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
micro: fix broken resource bundling.
The v2.0.11 update changed the way resources are bundled, now requiring an additional step to 'generate' the bundle. Since I happened to only test the original update on files that I have custom syntax for, I only realised the presence of the regression after the update got merged (#38402).
This commit is contained in:
parent
aabb7e2dce
commit
ee420d4794
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'micro'
|
# Template file for 'micro'
|
||||||
pkgname=micro
|
pkgname=micro
|
||||||
version=2.0.11
|
version=2.0.11
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/zyedidia/micro/v2"
|
go_import_path="github.com/zyedidia/micro/v2"
|
||||||
go_package="${go_import_path}/cmd/micro"
|
go_package="${go_import_path}/cmd/micro"
|
||||||
|
@ -15,6 +15,10 @@ homepage="https://micro-editor.github.io"
|
||||||
distfiles="https://github.com/zyedidia/micro/archive/v${version}.tar.gz"
|
distfiles="https://github.com/zyedidia/micro/archive/v${version}.tar.gz"
|
||||||
checksum=1bb499edeaaadf1fe1791a49f96ab672c4e1add31ee125882ccd85a0fc8a4abe
|
checksum=1bb499edeaaadf1fe1791a49f96ab672c4e1add31ee125882ccd85a0fc8a4abe
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
GOARCH= go generate ./runtime
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vman assets/packaging/micro.1
|
vman assets/packaging/micro.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue