Package gpsbabel: done the modification required in makedepends and

hostmakedepends, plus some vinstall instead wmkdir+vcopy.

Regards

Carlo
This commit is contained in:
onekk 2014-06-30 00:31:44 +02:00
parent b56e2cd115
commit 58dd71d2a1

View file

@ -7,8 +7,8 @@ maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
homepage="http://www.gpsbabel.org/"
license="GPL-2"
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"
hostmakedepends="perl>=5.18 docbook-xml xmlwf offo-hyphenation"
makedepends="qt-devel libusb-compat-devel expat-devel libxml2-devel libxslt-devel desktop-file-utils"
distfiles="http://arch.p5n.pp.ru/~sergej/dl/2014/${pkgname}-${version}.tar.gz"
checksum="3feec7d43ca6cb5393645fe0df893d9f7bf5334849fa8abd4c5c3ee775c8cac3"
@ -42,12 +42,10 @@ gpsbabel-gui_package() {
short_desc+=" - Qt4 GUI"
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}
vinstall ${wrksrc}/gui/gpsbabelfe 644 usr/bin
vinstall ${wrksrc}/gui/objects/gpsbabelfe-bin 644 usr/bin
vinstall ${wrksrc}/gui/gpsbabel.desktop 644 usr/share/applications
vinstall ${wrksrc}/gui/images/appicon.png 644 usr/share/pixmaps
}
}