diff options
author | Guillaume Horel | 2021-06-29 22:26:56 -0400 |
---|---|---|
committer | Guillaume Horel | 2021-06-29 22:26:56 -0400 |
commit | 90d4dd161087cc90b01c11480466aa411bca1405 (patch) | |
tree | 104684ecde0394ed4de0c3853eff3e3a9bf3a1ff | |
parent | 308ffdb2c6a18e96aed00ea34929ca58e8ff64e7 (diff) | |
download | aur-soci-git.tar.gz |
strip v from the tag
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 5 deletions
@@ -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 - @@ -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() { |