summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d84574bd2c1..e89e2d373f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pleroma-git
pkgdesc = A microblogging server software that can federate (= exchange messages with) other servers that support ActivityPub.
- pkgver = v2.4.1.r0.g0b2119d4a
+ pkgver = 2.4.1.r0.g0b2119d4a
pkgrel = 1
url = https://git.pleroma.social/pleroma/pleroma
install = pleroma.install
diff --git a/PKGBUILD b/PKGBUILD
index 2c9ad798d49..2f28306cc1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=pleroma
pkgname=${_pkgname}-git
-pkgver=v2.4.1.r0.g0b2119d4a
+pkgver=2.4.1.r0.g0b2119d4a
pkgrel=1
pkgdesc='A microblogging server software that can federate (= exchange messages with) other servers that support ActivityPub.'
url='https://git.pleroma.social/pleroma/pleroma'
@@ -47,5 +47,5 @@ package() {
pkgver() {
cd "${_pkgname}"
- git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}