diff options
author | root <root@rshg054.dnsready.net> | 2012-10-13 00:57:48 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-13 00:57:48 -0700 |
commit | 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (patch) | |
tree | ef49797b1f76586e9f8281e301a4923d90f29aa7 /community-testing/qlandkartegt/PKGBUILD | |
parent | 3cfedd8a4ed1e5464ef328d91b1a224aedc07960 (diff) |
Sat Oct 13 00:57:48 PDT 2012
Diffstat (limited to 'community-testing/qlandkartegt/PKGBUILD')
-rw-r--r-- | community-testing/qlandkartegt/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community-testing/qlandkartegt/PKGBUILD b/community-testing/qlandkartegt/PKGBUILD new file mode 100644 index 000000000..dc5485029 --- /dev/null +++ b/community-testing/qlandkartegt/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 77586 2012-10-13 02:31:01Z ebelanger $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Matthias Maennich <arch@maennich.net> +# Contributor: <boenki@gmx.de> + +pkgname=qlandkartegt +pkgver=1.5.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' 'glu' 'postgresql-libs' + 'qt' 'shared-mime-info' 'qtwebkit') +makedepends=('cmake' 'garmindev' 'mesa') +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) +sha256sums=('095cd2390684eead61b2868e1efc85500d6d61e95f3d54d0fd255cd95f55aadd' + 'e8d33948831f8a66edd752c71c653085d6c4d9f1969e70dd8c40b9c7ca37fba0') + +build() { + cd "${srcdir}" + mkdir build + cd build + + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package(){ + cd "${srcdir}/build" + + make DESTDIR="${pkgdir}" install + + install -D -m644 "${srcdir}/$pkgname-mimetypes.xml" \ + "${pkgdir}/usr/share/mime/packages/$pkgname-mimetypes.xml" +} |