void-packages/srcpkgs/gendesk/template
Dominik Honnef 63e6eaf059 gendesk, hub: fix broken template
3b617119c7 changed where Go binaries are
built. Instead of updating the templates with a new assumption, just use
post_install to install additional files, instead of overriding the
build style's do_install.
2015-05-04 13:53:20 +02:00

22 lines
773 B
Bash

# Template file for 'gendesk'
pkgname=gendesk
version=0.6.2
revision=2
build_style=go
hostmakedepends="git mercurial"
go_import_path="github.com/xyproto/gendesk"
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"
skip_extraction="default.png"
checksum="a01ecee04e2397f263b25b1ec94d642fe7f5b8b67eabc6123a923072dd130602
4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/default.png 644 usr/share/pixmaps
vman ${pkgname}.1
vlicense LICENSE
}