-
-
Save yaomtc/211a8e361aba1d6fa60d762906306b29 to your computer and use it in GitHub Desktop.
PKGBUILD for qt6_porting branch of QMapShack, based on qmapshack-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: YAOMTC <yaomtc@protonmail.com> | |
pkgname='qmapshack-qt6-git' | |
pkgver=1.17.1.r15.ga418cbd4 | |
pkgrel=1 | |
pkgdesc='Plan your next outdoor trip (in-development Qt6 porting branch)' | |
arch=('x86_64') | |
url='https://github.com/Maproom/qmapshack/wiki' | |
license=('GPL3') | |
depends=('alglib' 'dav1d' 'gdal' 'proj' 'qt6-tools' 'qt6-webengine' 'quazip-qt6' 'routino>=3.1') | |
makedepends=('cmake' 'git') | |
conflicts=('qmapshack') | |
provides=('qmapshack') | |
replaces=('qmapshack-hg') | |
source=("$pkgname::git+https://github.com/Maproom/qmapshack.git#branch=porting_qt6") | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "$pkgname" | |
git describe --long --tags | sed 's/^V_//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
build() { | |
cmake -S $pkgname -B build -DCMAKE_INSTALL_PREFIX='/usr' | |
cmake --build build | |
} | |
package() { | |
DESTDIR="$pkgdir" cmake --install build | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment