summaryrefslogtreecommitdiff
path: root/pcr/merkaartor/PKGBUILD
blob: d52cfe14a992139d05d4e55d2e604298cf7b1e17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
}