summaryrefslogtreecommitdiff
path: root/community/qlandkartegt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qlandkartegt/PKGBUILD')
-rw-r--r--community/qlandkartegt/PKGBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/community/qlandkartegt/PKGBUILD b/community/qlandkartegt/PKGBUILD
index 7ee43a4d0..96d07690c 100644
--- a/community/qlandkartegt/PKGBUILD
+++ b/community/qlandkartegt/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 75950 2012-09-06 20:00:35Z jlichtblau $
+# $Id: PKGBUILD 77658 2012-10-13 11:44:51Z allan $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Matthias Maennich <arch@maennich.net>
# Contributor: <boenki@gmx.de>
pkgname=qlandkartegt
pkgver=1.5.1
-pkgrel=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'
+depends=('gdal' 'gpsd' 'libdmtx' 'libexif' 'libmysqlclient' 'glu' 'postgresql-libs'
'qt' 'shared-mime-info' 'qtwebkit')
-makedepends=('cmake' 'garmindev')
+makedepends=('cmake' 'garmindev' 'mesa')
optdepends=('garmindev: to connect garmin devices')
install=$pkgname.install
changelog=$pkgname.changelog
@@ -22,9 +22,7 @@ sha256sums=('095cd2390684eead61b2868e1efc85500d6d61e95f3d54d0fd255cd95f55aadd'
'e8d33948831f8a66edd752c71c653085d6c4d9f1969e70dd8c40b9c7ca37fba0')
build() {
- cd ${srcdir}/$pkgname-$pkgver
-
- cd ${srcdir}
+ cd "${srcdir}"
mkdir build
cd build
@@ -35,10 +33,10 @@ build() {
}
package(){
- cd ${srcdir}/build
+ cd "${srcdir}/build"
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
- install -D -m644 ${srcdir}/$pkgname-mimetypes.xml \
- ${pkgdir}/usr/share/mime/packages/$pkgname-mimetypes.xml
+ install -D -m644 "${srcdir}/$pkgname-mimetypes.xml" \
+ "${pkgdir}/usr/share/mime/packages/$pkgname-mimetypes.xml"
}