Gpsbabel: done modification on the template file and added the icon

in /usr/share/doc/gpsbabel

Regards

Carlo
This commit is contained in:
onekk 2014-06-28 17:04:27 +02:00
parent ee9b542414
commit b56e2cd115

View file

@ -6,8 +6,7 @@ build_style=gnu-configure
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
homepage="http://www.gpsbabel.org/"
license="GPL-2"
short_desc="GPSBabel converts waypoints, tracks, and routes between popular GPS formats"
configure_args=""
short_desc="Converts waypoints, tracks, and routes between popular GPS formats"
hostmakedepends="perl>=5.18 docbook-xml"
makedepends="qt-devel libusb-compat-devel expat-devel libxml2-devel xmlwf libxslt-devel offo-hyphenation"
distfiles="http://arch.p5n.pp.ru/~sergej/dl/2014/${pkgname}-${version}.tar.gz"
@ -35,20 +34,20 @@ do_install(){
}
do_clean() {
# Remove temporary stuff from masterdir
# Remove temporary stuff from masterdir
rm -rf ${XBPS_BUILDDIR}/babelweb
}
gpsbabel-gui_package() {
short_desc+=" - Qt4 GUI"
depends="${pkgname}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmkdir usr/bin
vcopy ${wrksrc}/gui/gpsbabelfe usr/bin
vcopy ${wrksrc}/gui/objects/gpsbabelfe-bin usr/bin
vmkdir usr/share/applications
vcopy ${wrksrc}/gui/gpsbabel.desktop usr/share/applications
vcopy ${wrksrc}/gui/images/appicon.png /usr/share/doc/${pkgname}
}
}