2012-07-29 06:19:13 +00:00
|
|
|
# Template file for 'gendesk'
|
|
|
|
pkgname=gendesk
|
|
|
|
version=0.4.2
|
2013-04-12 11:13:49 +00:00
|
|
|
revision=2
|
2012-07-29 06:19:13 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2013-04-16 12:01:52 +00:00
|
|
|
do_install() {
|
2012-07-29 06:19:13 +00:00
|
|
|
vinstall ${pkgname}-${version} 755 usr/bin ${pkgname}
|
|
|
|
vinstall default.png 644 usr/share/pixmaps
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
gendesk_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|