summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanpi2016-08-25 09:14:30 +0200
committerSanpi2016-08-25 09:14:58 +0200
commit4371381b7586eb3c3222bde19386c2211578f911 (patch)
treee396dac1a400f9026a6e2cb5610520e4ea712fde
downloadaur-4371381b7586eb3c3222bde19386c2211578f911.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD33
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1bea27705c6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Thu Aug 25 07:14:15 UTC 2016
+pkgbase = qmapshack-hg
+ pkgdesc = Plan your next outdoor trip
+ pkgver = r2393.ed1a61d9786d
+ pkgrel = 1
+ url = https://bitbucket.org/maproom/qmapshack/
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = mercurial
+ depends = gdal
+ depends = routino>=3.1
+ depends = qt5-tools
+ depends = qt5-script
+ provides = qmapshack
+ conflicts = qmapshack
+ source = qmapshack-hg::hg+https://bitbucket.org/maproom/qmapshack
+ sha256sums = SKIP
+
+pkgname = qmapshack-hg
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5468a6e0a52
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/pkg
+/qmapshack-*.pkg.tar.xz
+/qmapshack-*.tar.gz
+/qmapshack-hg
+/src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..70dd8f0a93d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Sanpi <sanpi+aur@homecomputing.fr>
+pkgname='qmapshack-hg'
+pkgver=r2393.ed1a61d9786d
+pkgrel=1
+pkgdesc='Plan your next outdoor trip'
+arch=('x86_64')
+url='https://bitbucket.org/maproom/qmapshack/'
+license=('GPL3')
+depends=('gdal' 'routino>=3.1' 'qt5-tools' 'qt5-script')
+makedepends=('cmake' 'mercurial')
+conflicts=('qmapshack')
+provides=('qmapshack')
+source=("$pkgname::hg+https://bitbucket.org/maproom/qmapshack")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
+}
+
+build() {
+ cd "$pkgname"
+
+ cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$pkgname"
+
+ make DESTDIR="${pkgdir}" install
+}