summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6cb8676e8a0b4dd4b75748b0a089fd705a7406b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=pure-maps
pkgver=2.9.2
pkgrel=1
arch=("x86_64" "aarch64")
source=("https://github.com/rinigus/pure-maps/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('789dd7fdb865bd795e8695623a9c3dcbb0e22566614f0491069571fc211d7b89')
depends=("s2geometry" "python3" "qt5-base" "qt5-location" "qt5-declarative" "qt5-quickcontrols2" "nemo-qml-plugin-dbus" "python-pyotherside" "mapbox-gl-qml" "qt5-sensors" "python-gpxpy" "python-geomag")

build() {
	cmake -B build -S "$pkgname-${pkgver}" \
        -DCMAKE_INSTALL_PREFIX='/usr' \
		-DUSE_BUNDLED_GEOMAG=OFF
    make -C build
}

package() {
	make -C build DESTDIR="$pkgdir" install
}