mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
653 B
Bash
28 lines
653 B
Bash
pkgname=qmapshack
|
|
pkgver=1.12.1
|
|
pkgrel=1
|
|
pkgdesc='Plan your next outdoor trip'
|
|
arch=('x86_64')
|
|
url='https://bitbucket.org/maproom/qmapshack/'
|
|
license=('GPL3')
|
|
depends=('gdal' 'routino' 'qt5-declarative' 'qt5-webengine' 'proj' 'quazip')
|
|
makedepends=('cmake' 'qt5-tools')
|
|
source=("https://bitbucket.org/maproom/qmapshack/downloads/$pkgname-$pkgver.tar.gz")
|
|
sha1sums=('67666458e29263937ba9ac78c251cb77a526a5c3')
|
|
|
|
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
|
|
}
|