[arch-commits] Commit in qmapshack/repos (2 files)
Balló György
bgyorgy at archlinux.org
Wed Apr 21 23:09:58 UTC 2021
Date: Wednesday, April 21, 2021 @ 23:09:57
Author: bgyorgy
Revision: 920729
archrelease: copy trunk to community-staging-x86_64
Added:
qmapshack/repos/community-staging-x86_64/
qmapshack/repos/community-staging-x86_64/PKGBUILD
(from rev 920728, qmapshack/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: qmapshack/repos/community-staging-x86_64/PKGBUILD (from rev 920728, qmapshack/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-04-21 23:09:57 UTC (rev 920729)
@@ -0,0 +1,30 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Sanpi <sanpi+aur at homecomputing.fr>
+# Contributor: Martin Brodbeck <martin at brodbeck-online.de>
+
+pkgname=qmapshack
+pkgver=1.15.2+35+ga06d2f78
+pkgrel=1
+pkgdesc='Plan your next outdoor trip'
+arch=('x86_64')
+url='https://github.com/Maproom/qmapshack/wiki'
+license=('GPL3')
+depends=('alglib' 'gdal' 'proj' 'qt5-tools' 'qt5-webengine' 'quazip' 'routino>=3.1')
+makedepends+=('cmake' 'git')
+_commit=a06d2f78438631c4e7552fabd6425405f88f71c0 # dev
+source=("git+https://github.com/Maproom/qmapshack.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^V_//;s/_/./g;s/-/+/g'
+}
+
+build() {
+ cmake -S $pkgname -B build -DCMAKE_INSTALL_PREFIX='/usr'
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list