From 2d43f32c49a542eb093a634dffd8399c1b862b4a Mon Sep 17 00:00:00 2001 From: Noel Cower Date: Wed, 19 Dec 2018 23:46:31 -0800 Subject: [PATCH] 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. --- srcpkgs/gendesk/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gendesk/template b/srcpkgs/gendesk/template index 57c0c502cd9..e915c1fac71 100644 --- a/srcpkgs/gendesk/template +++ b/srcpkgs/gendesk/template @@ -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 "