desktop/qmapshack/PKGBUILD
2018-03-12 22:48:14 +00:00

28 lines
645 B
Bash

pkgname=qmapshack
pkgver=1.11.0
pkgrel=1
pkgdesc='Plan your next outdoor trip'
arch=('x86_64')
url='https://bitbucket.org/maproom/qmapshack/'
license=('GPL3')
depends=('gdal' 'routino' 'qt5-tools' 'qt5-script' 'qt5-webkit' 'proj' 'quazip')
makedepends=('cmake')
source=("https://bitbucket.org/maproom/qmapshack/downloads/$pkgname-$pkgver.tar.gz")
sha1sums=('fd7b68726a71891cdab04271e6833969d78a4770')
prepare() {
cd $pkgname-$pkgver
[[ -d build ]] || mkdir build
}
build() {
cd $pkgname-$pkgver/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}