summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Melling2018-07-31 20:32:06 +0100
committerMatt Melling2018-07-31 20:32:06 +0100
commit2ee4df13acfe50f7f201a58f4819f4691b2e86a7 (patch)
tree2d4c7aff9ef840de5da55bb5f35de85905eed64b
parentb658b289a56cd0a7e3656ad59a74166126f2b2ef (diff)
downloadaur-cypher-shell-git.tar.gz
cleaning up version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cfe318aafd44..ae5a0ef1c2f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cypher-shell-git
pkgdesc = A command line shell where you can execute Cypher against an instance of Neo4j (install from git)
- pkgver = neo4j.3.4.5.r7.g31a7bef
+ pkgver = 3.4.5.r7.g31a7bef
pkgrel = 1
url = https://github.com/neo4j/cypher-shell
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 6f44874a0ca5..84811bdb0009 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cypher-shell-git
pkgdesc="A command line shell where you can execute Cypher against an instance of Neo4j (install from git)"
-pkgver=neo4j.3.4.5.r7.g31a7bef
+pkgver=3.4.5.r7.g31a7bef
pkgrel=1
arch=("any")
url="https://github.com/neo4j/cypher-shell"
@@ -16,7 +16,7 @@ conflicts=("cypher-shell")
pkgver() {
cd "${srcdir}/${pkgname}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c 7-
}
build() {