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