summaryrefslogtreecommitdiff
path: root/gis/merkaartor
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-05-15 15:30:46 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-05-15 15:30:46 -0300
commit5cf5867b3fdc3287920a88ac8551dcceeba8cef9 (patch)
tree4d3150faf6c50214e16d682c9dfb7dad0a8ffe9a /gis/merkaartor
parentf3da6723ad4a7ec5149daf3d44b6ccdd3ee9c6ef (diff)
downloadabslibre-5cf5867b3fdc3287920a88ac8551dcceeba8cef9.tar.gz
abslibre-5cf5867b3fdc3287920a88ac8551dcceeba8cef9.tar.bz2
abslibre-5cf5867b3fdc3287920a88ac8551dcceeba8cef9.zip
Starting [gis] repo
Diffstat (limited to 'gis/merkaartor')
-rw-r--r--gis/merkaartor/PKGBUILD38
-rw-r--r--gis/merkaartor/install12
2 files changed, 50 insertions, 0 deletions
diff --git a/gis/merkaartor/PKGBUILD b/gis/merkaartor/PKGBUILD
new file mode 100644
index 000000000..333bc15fb
--- /dev/null
+++ b/gis/merkaartor/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Michael Kanis <mkanis gmx de>
+# Contributor: Paulo Freire <paulofreire gmail com>
+# Contributor: Brice Maron <brice bmaron net>
+
+pkgname=merkaartor
+pkgver=0.17.2
+pkgrel=3
+pkgdesc='OpenStreetMap editor'
+url='http://merkaartor.be/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+makedepends=('boost')
+depends=('qtwebkit' 'exiv2')
+optdepends=('gpsd' 'desktop-file-utils' 'gtk-update-icon-cache')
+source=("http://www.merkaartor.be/attachments/download/253/merkaartor-${pkgver}.tar.bz2")
+sha1sums=('f789141db427bf25bb3b61801fefc98ab0430012')
+
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ echo 'QMAKE_MOC = $$QMAKE_MOC -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED' >> src/src.pro
+ lrelease src/src.pro
+ qmake Merkaartor.pro \
+ PREFIX="/usr" \
+ GEOIMAGE=1 \
+ NODEBUG=1 \
+ RELEASE=1 \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
+}
diff --git a/gis/merkaartor/install b/gis/merkaartor/install
new file mode 100644
index 000000000..af0c8724a
--- /dev/null
+++ b/gis/merkaartor/install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}