desktop/merkaartor/PKGBUILD
Francesco Marinucci 7429baeafc merkaartor: rebuild
2015-01-14 14:31:11 +00:00

39 lines
1.1 KiB
Bash

# Apps Packages for Chakra, part of chakra-project.org
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# Contributions from AUR: https://aur.archlinux.org/packages/merkaartor/
pkgname=merkaartor
pkgver=0.18.1
pkgrel=3
pkgdesc="An editor for the OpenStreetMap project"
arch=('x86_64')
url="http://www.merkaartor.org/"
license=('GPL2')
depends=('exiv2' 'gdal' 'libxml2' 'libxslt' 'proj' 'qtwebkit' 'unixodbc')
optdepends=('gpsd')
makedepends=('git' 'boost')
conflicts=('merkaartor-svn')
categories=('network' 'education')
screenshot=(http://merkaartor.be/attachments/download/195)
#source=("http://merkaartor.be/attachments/download/301/merkaartor-0.18.1.tar.bz2")
source+=("$pkgname-$pkgver::git+https://gitorious.org/$pkgname/main.git#tag=$pkgver")
md5sums=('SKIP')
build() {
cd $srcdir/$pkgname-$pkgver
echo 'QMAKE_MOC = $$QMAKE_MOC -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED' >> src/src.pro
lrelease src/src.pro
qmake \
GEOIMAGE=1 \
NODEBUG=1 \
PREFIX="/usr" \
RELEASE=1 \
Merkaartor.pro
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make INSTALL_ROOT=$pkgdir install
}