summaryrefslogtreecommitdiff
path: root/community/gpsbabel/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gpsbabel/PKGBUILD')
-rw-r--r--community/gpsbabel/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/community/gpsbabel/PKGBUILD b/community/gpsbabel/PKGBUILD
index 25f5551c9..f5fb0b6c6 100644
--- a/community/gpsbabel/PKGBUILD
+++ b/community/gpsbabel/PKGBUILD
@@ -1,30 +1,37 @@
-# $Id: PKGBUILD 38742 2011-01-31 16:53:59Z spupykin $
+# $Id: PKGBUILD 56961 2011-10-17 10:14:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=gpsbabel
pkgver=1.4.2
-pkgrel=1
+pkgrel=2
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')
+makedepends=('fop' 'qt' 'libxml2' 'libxslt')
+optdepends=('qt')
options=('docs')
source=(gpsbabel-$pkgver.tar.gz::http://archlinux-stuff.googlecode.com/files/gpsbabel-$pkgver.tar.gz)
md5sums=('76ea9f7852be2e98aa18976c4697ca93')
build() {
cd $srcdir/gpsbabel-$pkgver
- mkdir -p $pkgdir/usr/bin
./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
+
# 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} \