From 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 13 Oct 2012 00:57:48 -0700 Subject: Sat Oct 13 00:57:48 PDT 2012 --- community-testing/qlandkartegt/PKGBUILD | 42 +++++++++++++++++++ .../qlandkartegt/qlandkartegt-mimetypes.xml | 7 ++++ .../qlandkartegt/qlandkartegt.changelog | 48 ++++++++++++++++++++++ .../qlandkartegt/qlandkartegt.install | 7 ++++ 4 files changed, 104 insertions(+) create mode 100644 community-testing/qlandkartegt/PKGBUILD create mode 100644 community-testing/qlandkartegt/qlandkartegt-mimetypes.xml create mode 100644 community-testing/qlandkartegt/qlandkartegt.changelog create mode 100644 community-testing/qlandkartegt/qlandkartegt.install (limited to 'community-testing/qlandkartegt') 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 +# Contributor: Matthias Maennich +# Contributor: + +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" +} diff --git a/community-testing/qlandkartegt/qlandkartegt-mimetypes.xml b/community-testing/qlandkartegt/qlandkartegt-mimetypes.xml new file mode 100644 index 000000000..46d3d402c --- /dev/null +++ b/community-testing/qlandkartegt/qlandkartegt-mimetypes.xml @@ -0,0 +1,7 @@ + + + + QLandkarteGT File + + + diff --git a/community-testing/qlandkartegt/qlandkartegt.changelog b/community-testing/qlandkartegt/qlandkartegt.changelog new file mode 100644 index 000000000..47c05ab04 --- /dev/null +++ b/community-testing/qlandkartegt/qlandkartegt.changelog @@ -0,0 +1,48 @@ +2012-09-06 Jaroslav Lichtblau + * qlandkartegt 1.5.1-1 + +2012-07-07 Jaroslav Lichtblau + * qlandkartegt 1.5.0-1 + +2012-05-24 Jaroslav Lichtblau + * qlandkartegt 1.4.2-1 + +2012-05-20 Jaroslav Lichtblau + * qlandkartegt 1.4.1-1 + +2012-03-08 Jaroslav Lichtblau + * qlandkartegt 1.4.0-1 + +2012-02-21 Jaroslav Lichtblau + * qlandkartegt 1.3.2-1 + +2011-12-08 Jaroslav Lichtblau + * qlandkartegt 1.3.1-1 + +2011-10-09 Jaroslav Lichtblau + * qlandkartegt 1.2.4-1 + +2011-09-09 Jaroslav Lichtblau + * qlandkartegt 1.2.3-1 + +2011-07-19 Jaroslav Lichtblau + * qlandkartegt 1.2.2-1 + +2011-07-07 Jaroslav Lichtblau + * qlandkartegt 1.2.1-1 + +2011-06-22 Jaroslav Lichtblau + * qlandkartegt 1.2.0-1 + +2011-05-22 Jaroslav Lichtblau + * qlandkartegt 1.1.2-1 + +2011-03-21 Jaroslav Lichtblau + * qlandkartegt 1.1.1-1 + +2011-02-23 Jaroslav Lichtblau + * qlandkartegt 1.1.0-1 + +2011-02-05 Jaroslav Lichtblau + * qlandkartegt 1.0.1-2 + * moved to [community] with 59 AUR votes diff --git a/community-testing/qlandkartegt/qlandkartegt.install b/community-testing/qlandkartegt/qlandkartegt.install new file mode 100644 index 000000000..e55805570 --- /dev/null +++ b/community-testing/qlandkartegt/qlandkartegt.install @@ -0,0 +1,7 @@ +post_install() { + update-mime-database usr/share/mime > /dev/null +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3-54-g00ecf