summaryrefslogtreecommitdiff
path: root/community-testing/qlandkartegt/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-18 05:50:22 +0000
committerroot <root@rshg047.dnsready.net>2011-04-18 05:50:22 +0000
commit6ca29e0c62691c1f3120dda0f6b59dbb86cc9295 (patch)
treef5316be783bd7c6686356e0dcd4c5ed9777e1eb4 /community-testing/qlandkartegt/PKGBUILD
parent049af7a95b01eba14d33586ad5852dddaf107e53 (diff)
Mon Apr 18 05:50:22 UTC 2011
Diffstat (limited to 'community-testing/qlandkartegt/PKGBUILD')
-rw-r--r--community-testing/qlandkartegt/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community-testing/qlandkartegt/PKGBUILD b/community-testing/qlandkartegt/PKGBUILD
new file mode 100644
index 000000000..e478e9200
--- /dev/null
+++ b/community-testing/qlandkartegt/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 45140 2011-04-17 12:03:02Z andrea $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Matthias Maennich <arch@maennich.net>
+# Contributor: <boenki@gmx.de>
+
+pkgname=qlandkartegt
+pkgver=1.1.1
+pkgrel=2
+pkgdesc="Use your GPS with Linux"
+arch=('i686' 'x86_64')
+url="http://www.qlandkarte.org/"
+license=('GPL')
+depends=('gdal' 'gpsd' 'libdmtx' 'libexif' 'libmysqlclient' 'mesa' 'postgresql-libs' 'qt' 'shared-mime-info')
+makedepends=('cmake' 'garmindev')
+optdepends=('garmindev: to connect garmin devices')
+install=$pkgname.install
+changelog=$pkgname.changelog
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname-mimetypes.xml
+ gpsd-2.96.patch)
+sha256sums=('0288c94edcb0af4e39bc045c8607ed9404b4692c44e5409eff64329a21b33af9'
+ 'e8d33948831f8a66edd752c71c653085d6c4d9f1969e70dd8c40b9c7ca37fba0'
+ 'b641c94c6db4087c9ae1a79e31e2ea126830abf7ff1b05c27953edc6afebf8c7')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ patch -Np0 -i ${srcdir}/gpsd-2.96.patch
+
+ install -d ${srcdir}/$pkgname-$pkgver/build
+ cd ${srcdir}/$pkgname-$pkgver/build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+package(){
+ cd ${srcdir}/$pkgname-$pkgver/build
+
+ make DESTDIR=${pkgdir} install
+
+ install -D -m644 ${srcdir}/$pkgname-mimetypes.xml \
+ ${pkgdir}/usr/share/mime/packages/$pkgname-mimetypes.xml
+}