diff options
author | root <root@rshg054.dnsready.net> | 2011-10-25 23:14:56 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-25 23:14:56 +0000 |
commit | d03e905f54857600b3c36af9b221c34ccb11074f (patch) | |
tree | 6456a06bc5bed5a6083f02bb468392dc6ba6337e /community-testing/gpsbabel | |
parent | 0d7bab226067a44a9f1b978924e8201a3fa60764 (diff) |
Tue Oct 25 23:14:56 UTC 2011
Diffstat (limited to 'community-testing/gpsbabel')
-rw-r--r-- | community-testing/gpsbabel/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/community-testing/gpsbabel/PKGBUILD b/community-testing/gpsbabel/PKGBUILD new file mode 100644 index 000000000..d68e1a290 --- /dev/null +++ b/community-testing/gpsbabel/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 57231 2011-10-24 20:33:01Z andrea $ +# 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=4 +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') +optdepends=('qt' 'qtwebkit') +options=('docs') +source=("gpsbabel-$pkgver.tar.gz::http://archlinux-stuff.googlecode.com/files/gpsbabel-$pkgver.tar.gz" + "gpsbabel.desktop::http://pkgs.fedoraproject.org/gitweb/?p=gpsbabel.git;a=blob_plain;f=gpsbabel.desktop;hb=HEAD") +md5sums=('76ea9f7852be2e98aa18976c4697ca93' + '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/ +} |