void-packages/srcpkgs/gendesk/template

23 lines
778 B
Bash

# Template file for 'gendesk'
pkgname=gendesk
version=0.6.4
revision=7
build_style=go
hostmakedepends="git-perl 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="2e2b1bfc20f58eeb3f3fbea3cc6a9cf256d98b640a4db727449e1f71ecbc3fee
4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/default.png 644 usr/share/pixmaps
vman ${pkgname}.1
vlicense LICENSE
}