summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph R. Quinn2020-01-03 13:01:11 -0500
committerJoseph R. Quinn2020-01-03 13:01:22 -0500
commit05f26073ffbcd1313380e08f50c704d3d2ffe479 (patch)
tree78b01039edb8a97e4eec44d7c3749c72b9af060d
parentfe0938625e982ada1cd0d3c9abd056e7a1536ba9 (diff)
downloadaur-05f26073ffbcd1313380e08f50c704d3d2ffe479.tar.gz
Correcting pkgver function
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 00ba3fbb66c..0cb0ff02281 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = php-phalcon-git
pkgdesc = High performance, full-stack PHP framework delivered as a C extension. Git package.
- pkgver = 4.0.0.rc.3
- pkgrel = 2
+ pkgver = 4.0.0
+ pkgrel = 1
url = https://phalcon.io/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a5a3c763bf1..2695774d871 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Maintainer: Joseph R Quinn <quinn.josephr@protonmail.com>
pkgname=php-phalcon-git
_pkgname=cphalcon
-pkgver=4.0.0.rc.3
-pkgrel=2
+pkgver=4.0.0
+pkgrel=1
pkgdesc="High performance, full-stack PHP framework delivered as a C extension. Git package."
arch=('i686' 'x86_64')
url="https://phalcon.io/"
@@ -38,7 +38,7 @@ _PHP_VERSION=`php-config --version`
pkgver() {
cd "$srcdir/$_pkgname"
- printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/v//g')"
+ printf "%s" "$(git describe --abbrev=0 --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/v//g')"
}
build() {