PKGBUILD 571 Bytes
Newer Older
gnastyle's avatar
gnastyle committed
1
pkgname=qmapshack
gnastyle's avatar
gnastyle committed
2
pkgver=1.6.0
Francesco Marinucci's avatar
Francesco Marinucci committed
3
pkgrel=2
gnastyle's avatar
gnastyle committed
4 5 6 7 8 9 10 11
pkgdesc='Plan your next outdoor trip'
arch=('x86_64')
url='https://bitbucket.org/maproom/qmapshack/'
license=('GPL3')
depends=('gdal' 'routino' 'qt5-tools' 'qt5-script' 'proj')
makedepends=('cmake' 'make')
replaces=('qlandkartegt')
source=("https://bitbucket.org/maproom/qmapshack/downloads/$pkgname-$pkgver.tar.gz")
gnastyle's avatar
gnastyle committed
12
sha1sums=('8ad0ed40187c3d1214e865455141cd8d47472e99')
gnastyle's avatar
gnastyle committed
13 14

build() {
Francesco Marinucci's avatar
Francesco Marinucci committed
15
    cd $pkgname-$pkgver
gnastyle's avatar
gnastyle committed
16 17 18 19 20
    cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
    make
}

package() {
Francesco Marinucci's avatar
Francesco Marinucci committed
21
    cd $pkgname-$pkgver
gnastyle's avatar
gnastyle committed
22

Francesco Marinucci's avatar
Francesco Marinucci committed
23
    make DESTDIR=$pkgdir install
gnastyle's avatar
gnastyle committed
24
}