mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/gpsbabel: adding precompiled htmldocs to package instead of relying on java to actually function properly.
This commit is contained in:
parent
fdcfbcadc6
commit
18e268ffb1
3 changed files with 56 additions and 0 deletions
47
community/gpsbabel/PKGBUILD
Normal file
47
community/gpsbabel/PKGBUILD
Normal file
|
@ -0,0 +1,47 @@
|
|||
# $Id$
|
||||
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||||
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
|
||||
# Contributor: William Rea <sillywilly@gmail.com>
|
||||
|
||||
pkgname=gpsbabel
|
||||
pkgver=1.4.4
|
||||
pkgrel=1
|
||||
pkgdesc="Reads, writes, and manipulates GPS waypoints in a variety of formats"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gpsbabel.org"
|
||||
license=('GPL')
|
||||
depends=('libusb-compat' 'expat')
|
||||
makedepends=('fop' 'qt' 'libxml2' 'libxslt' 'gtk2' 'lcms2' 'qtwebkit' 'java-environment=6' 'docbook-xsl')
|
||||
optdepends=('qt' 'qtwebkit')
|
||||
options=('docs')
|
||||
source=("gpsbabel-$pkgver.tar.gz::http://archlinux-stuff.googlecode.com/files/gpsbabel-$pkgver.tar.gz"
|
||||
"gpsbabel.desktop")
|
||||
md5sums=('6c4c8f0cb9fcf9f8302585148878f174'
|
||||
'7bdbd243e29a8831842d31c079f04c45')
|
||||
|
||||
build() {
|
||||
cd $srcdir/gpsbabel-$pkgver
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
# make doc
|
||||
(cd gui && qmake && make)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/gpsbabel-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
# GUI
|
||||
install -Dm755 gui/objects/gpsbabelfe-bin ${pkgdir}/usr/bin/gpsbabelfe-bin
|
||||
install -Dm644 gui/images/appicon.png $pkgdir/usr/share/pixmaps/gpsbabel.png
|
||||
install -Dm644 $srcdir/gpsbabel.desktop $pkgdir/usr/share/applications/gpsbabel.desktop
|
||||
|
||||
# Header install
|
||||
mkdir -p $pkgdir/usr/include/gpsbabel
|
||||
cp {defs.h,queue.h,gbtypes.h,filterdefs.h,cet.h,cet_util.h,garmin_tables.h} \
|
||||
$pkgdir/usr/include/gpsbabel
|
||||
|
||||
# Doc install
|
||||
# mkdir -p $pkgdir/usr/share/doc/$pkgname
|
||||
# cp -r $srcdir/babelweb/* $pkgdir/usr/share/doc/$pkgname/
|
||||
cp README* $pkgdir/usr/share/doc/$pkgname/
|
9
community/gpsbabel/gpsbabel.desktop
Normal file
9
community/gpsbabel/gpsbabel.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=GPSBabel
|
||||
Comment=Qt GUI interface for GPSBabel
|
||||
GenericName=GPSBabel
|
||||
Icon=gpsbabel
|
||||
Exec=gpsbabelfe-bin
|
||||
Terminal=false
|
||||
Categories=Geography;Education;Utility;
|
BIN
community/gpsbabel/htmldoc.tar.xz
Normal file
BIN
community/gpsbabel/htmldoc.tar.xz
Normal file
Binary file not shown.
Loading…
Reference in a new issue