gendesk: add go_mod_mode=default option.

This fixes vendor detection with Go modules by forcing default Go
behavior to download dependencies, despite the presence of a vendor
dir. This is necessary because the vendor dir exists but is empty,
since it's a skeleton for Git submodules.
This commit is contained in:
Noel Cower 2018-12-19 23:46:31 -08:00 committed by maxice8
parent 6026e4197b
commit 2d43f32c49
1 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'gendesk'
pkgname=gendesk
version=1.0.2
revision=1
revision=2
build_style=go
go_import_path=github.com/xyproto/gendesk
go_mod_mode=default
hostmakedepends="git"
short_desc="Utility to generate .desktop files and download icons"
maintainer="Juan RP <xtraeme@voidlinux.eu>"