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:
0x5c 2022-08-02 02:27:39 -04:00 committed by classabbyamp
parent aabb7e2dce
commit ee420d4794
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'micro'
pkgname=micro
version=2.0.11
revision=1
revision=2
build_style=go
go_import_path="github.com/zyedidia/micro/v2"
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"
checksum=1bb499edeaaadf1fe1791a49f96ab672c4e1add31ee125882ccd85a0fc8a4abe
pre_build() {
GOARCH= go generate ./runtime
}
post_install() {
vlicense LICENSE
vman assets/packaging/micro.1