mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
37 lines
1001 B
Bash
37 lines
1001 B
Bash
# Contributions from AUR: https://aur.archlinux.org/packages/merkaartor/
|
|
|
|
pkgname=merkaartor
|
|
pkgver=0.18.1
|
|
pkgrel=4
|
|
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
|
|
}
|