summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Stahlberg2018-09-27 18:16:37 +0200
committerMaximilian Stahlberg2018-09-27 18:16:37 +0200
commit065260549de4fe9e30ba1a6e366dc5512df8766a (patch)
tree81a5538c29ade69b26ce030965aee2cac65882b2
parent1561264086de0f135d3e438d9f02e2ce677f9bc5 (diff)
downloadaur-065260549de4fe9e30ba1a6e366dc5512df8766a.tar.gz
Remove leading 'v' from the version string.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13920ad8494f..058103815c96 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Mar 16 16:48:09 UTC 2018
+# Thu Sep 27 16:16:06 UTC 2018
pkgbase = python-pyscipopt-git
pkgdesc = A Python Interface to the SCIP Optimization Suite.
- pkgver = v1.4.0.r12.ge2eb344
+ pkgver = 2.0.1.r12.g5b2a21b
pkgrel = 1
url = http://scip.zib.de
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index a48cfb232a37..79d9aab0e684 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=('python-pyscipopt-git')
pkgname=('python-pyscipopt-git' 'python2-pyscipopt-git')
-pkgver=v1.4.0.r12.ge2eb344
+pkgver=2.0.1.r12.g5b2a21b
pkgrel=1
pkgdesc='A Python Interface to the SCIP Optimization Suite.'
arch=('any')
@@ -17,7 +17,7 @@ source=("${pkgbase}::git+https://github.com/SCIP-Interfaces/PySCIPOpt.git")
pkgver() {
cd "${srcdir}/${pkgbase}"
- git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package_python-pyscipopt-git() {