2012-10-18 03:20:44 +00:00
|
|
|
# $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
|
2013-03-01 14:14:22 +00:00
|
|
|
pkgrel=2
|
2012-10-18 03:20:44 +00:00
|
|
|
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')
|
2013-03-01 14:14:22 +00:00
|
|
|
makedepends=('qt4' 'libxml2' 'libxslt' 'gtk2' 'lcms2' 'qtwebkit' 'docbook-xsl')
|
|
|
|
optdepends=('qt4' 'qtwebkit')
|
2012-10-18 03:20:44 +00:00
|
|
|
options=('docs')
|
|
|
|
source=("gpsbabel-$pkgver.tar.gz::http://archlinux-stuff.googlecode.com/files/gpsbabel-$pkgver.tar.gz"
|
2012-10-18 03:39:25 +00:00
|
|
|
"gpsbabel.desktop"
|
|
|
|
"htmldoc.tar.xz")
|
2012-10-18 03:20:44 +00:00
|
|
|
md5sums=('6c4c8f0cb9fcf9f8302585148878f174'
|
2012-10-18 03:39:25 +00:00
|
|
|
'7bdbd243e29a8831842d31c079f04c45'
|
|
|
|
'cd91c9117bb8e6294bf807431bd95bcd')
|
2012-10-18 03:20:44 +00:00
|
|
|
|
|
|
|
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
|
2012-10-18 03:39:25 +00:00
|
|
|
mkdir -p $pkgdir/usr/share/doc/$pkgname
|
2013-03-22 19:21:57 +00:00
|
|
|
cp -r $srcdir/htmldoc/* $pkgdir/usr/share/doc/$pkgname//
|
2012-10-18 03:20:44 +00:00
|
|
|
cp README* $pkgdir/usr/share/doc/$pkgname/
|
2013-03-01 14:14:22 +00:00
|
|
|
}
|