diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-27 04:47:09 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-27 04:47:09 -0300 |
commit | 718ae69bc796d8467d5b36bc008587568cc401e7 (patch) | |
tree | 1d0eb2a46f47b45ae4654138724f9ee5f38b004f /pcr/merkaartor | |
parent | 1a26253780ac2b8067e25422bc729cf96375bffd (diff) |
move [gis]/merkaartor to [pcr] and remove unused [gis]
Diffstat (limited to 'pcr/merkaartor')
-rw-r--r-- | pcr/merkaartor/PKGBUILD | 38 | ||||
-rw-r--r-- | pcr/merkaartor/install | 12 |
2 files changed, 50 insertions, 0 deletions
diff --git a/pcr/merkaartor/PKGBUILD b/pcr/merkaartor/PKGBUILD new file mode 100644 index 000000000..d52cfe14a --- /dev/null +++ b/pcr/merkaartor/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org> +# Contributor (Arch): Michael Kanis <mkanis gmx de> +# Contributor (Arch): Paulo Freire <paulofreire gmail com> +# Contributor (Arch): Brice Maron <brice bmaron net> + +pkgname=merkaartor +pkgver=0.17.2 +pkgrel=3 +pkgdesc='OpenStreetMap editor' +url='http://merkaartor.be/' +arch=('i686' 'x86_64' 'mips64el') +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/pcr/merkaartor/install b/pcr/merkaartor/install new file mode 100644 index 000000000..af0c8724a --- /dev/null +++ b/pcr/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 +} |