summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Barnes2019-10-30 00:09:46 +1100
committerJake Barnes2019-10-30 00:09:46 +1100
commit651d49eda7bd4eaaa28178d90f7a649e56c52e58 (patch)
tree1d671e6d3241a4f918bf432a1e39641d46ffc61d
parent7eb9d6ca9e84f3912765884cfb26625e73da7baa (diff)
downloadaur-651d49eda7bd4eaaa28178d90f7a649e56c52e58.tar.gz
Fix pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83c1839a1a22..19d1d38c205b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = input-redirection-client-qt-git
pkgdesc = Input redirection client for the 3DS using QtGamepad
- pkgver = 2.1
+ pkgver = 2.1.r6.g85439b9
pkgrel = 1
url = https://github.com/TuxSH/InputRedirectionClient-Qt
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index e52ea4b63964..34d0d36b63fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jake Barnes <me@jakebarn.es>
pkgname=input-redirection-client-qt-git
-pkgver=2.1
+pkgver=2.1.r6.g85439b9
pkgrel=1
pkgdesc="Input redirection client for the 3DS using QtGamepad"
arch=('x86_64')
@@ -14,6 +14,7 @@ md5sums=('SKIP'
'a2ca494c5c1b38ac77ee9f44d586c89a')
pkgver() {
+ cd "$srcdir/InputRedirectionClient-Qt"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
}