summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2021-06-29 22:26:56 -0400
committerGuillaume Horel2021-06-29 22:26:56 -0400
commit90d4dd161087cc90b01c11480466aa411bca1405 (patch)
tree104684ecde0394ed4de0c3853eff3e3a9bf3a1ff
parent308ffdb2c6a18e96aed00ea34929ca58e8ff64e7 (diff)
downloadaur-90d4dd161087cc90b01c11480466aa411bca1405.tar.gz
strip v from the tag
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 25b1986c1509..47f98d9b3cd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = soci-git
pkgdesc = Database access library for C++
- pkgver = 4.0.1.r0.g334cc55d
+ pkgver = 4.0.2.r0.g99e2d567
pkgrel = 1
url = http://soci.sf.net
arch = x86_64
@@ -14,10 +14,9 @@ pkgbase = soci-git
optdepends = postgresql-libs: support for postgresql databases
optdepends = sqlite3: support for sqlite databases
optdepends = unixodbc: support for ODBC databases
- provides = soci=4.0.1.r0.g334cc55d
+ provides = soci=4.0.2.r0.g99e2d567
conflicts = soci
source = git+https://github.com/SOCI/soci.git#branch=release/4.0
sha1sums = SKIP
pkgname = soci-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 18f967e807b2..0aed49a4ad48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=soci-git
pkgname_=soci
-pkgver=4.0.1.r0.g334cc55d
+pkgver=4.0.2.r0.g99e2d567
pkgrel=1
pkgdesc="Database access library for C++"
arch=('x86_64')
@@ -25,7 +25,7 @@ sha1sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname_}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/; s/-/./g'
}
build() {