summaryrefslogtreecommitdiff
path: root/community/gpsbabel
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-18 23:14:49 +0000
committerroot <root@rshg054.dnsready.net>2011-10-18 23:14:49 +0000
commit791dde5091677cd6370690f9df9fb7cbdcfe0968 (patch)
tree44b8403e7782995a56c22f0fdacd13b227667bb1 /community/gpsbabel
parentc4f201fd7208805c7ee00e0ee833d3cc505898ac (diff)
Tue Oct 18 23:14:48 UTC 2011
Diffstat (limited to 'community/gpsbabel')
-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} \