void-packages/srcpkgs/gendesk/template

25 lines
728 B
Plaintext
Raw Normal View History

2012-07-29 08:19:13 +02:00
# Template file for 'gendesk'
pkgname=gendesk
version=0.4.2
revision=1
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
long_desc="
${pkgname} is an ${short_desc}."
do_build() {
${XBPS_FETCH_CMD} http://roboticoverlords.org/images/default.png
go build
}
post_install() {
vinstall ${pkgname}-${version} 755 usr/bin ${pkgname}
vinstall default.png 644 usr/share/pixmaps
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}