diff options
author | Maximilian Stahlberg | 2018-09-27 18:16:37 +0200 |
---|---|---|
committer | Maximilian Stahlberg | 2018-09-27 18:16:37 +0200 |
commit | 065260549de4fe9e30ba1a6e366dc5512df8766a (patch) | |
tree | 81a5538c29ade69b26ce030965aee2cac65882b2 | |
parent | 1561264086de0f135d3e438d9f02e2ce677f9bc5 (diff) | |
download | aur-065260549de4fe9e30ba1a6e366dc5512df8766a.tar.gz |
Remove leading 'v' from the version string.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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() { |