void-packages/srcpkgs/gendesk/template

29 lines
735 B
Plaintext

# Template file for 'gendesk'
pkgname=gendesk
version=0.4.2
revision=2
makedepends="go>=1.0.2"
short_desc="Utility to generate .desktop files and download icons"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://roboticoverlords.org/gendesk/"
distfiles="http://roboticoverlords.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=10b2a294f5d57fcc2fd8612ca9cba7f0f82af03b1bd38d93a3ef757689d20a8a
do_build() {
${XBPS_FETCH_CMD} http://roboticoverlords.org/images/default.png
go build
}
do_install() {
vinstall ${pkgname}-${version} 755 usr/bin ${pkgname}
vinstall default.png 644 usr/share/pixmaps
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
gendesk_package() {
pkg_install() {
vmove usr
}
}