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.
23 lines
781 B
Bash
23 lines
781 B
Bash
# Template file for 'gendesk'
|
|
pkgname=gendesk
|
|
version=1.0.2
|
|
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>"
|
|
license="MIT"
|
|
homepage="http://roboticoverlords.org/gendesk/"
|
|
distfiles="https://github.com/xyproto/${pkgname}/archive/${version}.tar.gz
|
|
http://roboticoverlords.org/images/default.png"
|
|
checksum="9a2a58c6c3b14bdb5800abf3a30bbfc05285cfba2f9ae0f914b96ae87006f65c
|
|
4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837"
|
|
skip_extraction="default.png"
|
|
|
|
post_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/default.png 644 usr/share/pixmaps
|
|
vman ${pkgname}.1
|
|
vlicense LICENSE
|
|
}
|