desktop/qmapshack/PKGBUILD

28 lines
653 B
Bash
Raw Normal View History

2015-12-31 23:06:41 +08:00
pkgname=qmapshack
2018-12-30 20:07:03 +08:00
pkgver=1.12.1
2016-09-15 04:41:47 +08:00
pkgrel=1
2015-12-31 23:06:41 +08:00
pkgdesc='Plan your next outdoor trip'
arch=('x86_64')
url='https://bitbucket.org/maproom/qmapshack/'
license=('GPL3')
2018-09-10 11:15:44 +08:00
depends=('gdal' 'routino' 'qt5-declarative' 'qt5-webengine' 'proj' 'quazip')
makedepends=('cmake' 'qt5-tools')
2015-12-31 23:06:41 +08:00
source=("https://bitbucket.org/maproom/qmapshack/downloads/$pkgname-$pkgver.tar.gz")
2018-12-30 20:07:03 +08:00
sha1sums=('67666458e29263937ba9ac78c251cb77a526a5c3')
2015-12-31 23:06:41 +08:00
2016-09-12 08:56:36 +08:00
prepare() {
2016-03-02 16:39:29 +08:00
cd $pkgname-$pkgver
2016-09-12 08:56:36 +08:00
[[ -d build ]] || mkdir build
}
build() {
cd $pkgname-$pkgver/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
2015-12-31 23:06:41 +08:00
make
}
package() {
2016-09-12 08:56:36 +08:00
cd $pkgname-$pkgver/build
2016-03-02 16:39:29 +08:00
make DESTDIR=$pkgdir install
2016-02-26 20:49:43 +08:00
}