summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Bishop2020-05-11 12:05:41 -0400
committerAaron Bishop2020-05-11 12:05:41 -0400
commitfe5d7cf0773dc0b791c8fcd1a0d71e88efa66579 (patch)
treec0fc703becc381d9c56b6c3259e3c18172d2c688
parentf61393e51f976de44f19e5ded166baaae13cc3cf (diff)
downloadaur-fe5d7cf0773dc0b791c8fcd1a0d71e88efa66579.tar.gz
Remove r from version code
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f298b64b0b1a..00e97c310239 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fastcgi++-git
pkgdesc = This library is intended as a high-efficiency C++14 api for web development.
- pkgver = 3.0.r88.g02ca540
- pkgrel = 2
+ pkgver = 3.0.88.g02ca540
+ pkgrel = 1
url = https://fastcgipp.isatec.ca
arch = x86_64
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index 5592d3a9a9aa..740f1ed43bd9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=fastcgi++-git
_pkgname=fastcgipp
-pkgver=3.0.r88.g02ca540
-pkgrel=2
+pkgver=3.0.88.g02ca540
+pkgrel=1
pkgdesc="This library is intended as a high-efficiency C++14 api for web development."
arch=('x86_64')
url="https://fastcgipp.isatec.ca"
@@ -19,7 +19,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e 's/\.r/./g'
}
prepare() {