summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorP.A. López-Valencia2016-10-22 10:48:21 -0500
committerP.A. López-Valencia2016-10-22 10:48:21 -0500
commitaecb1469e4545674ec675e401c481569b47300d9 (patch)
tree58e1963a3860d1c457f8f76bc625f6d23b78599b /PKGBUILD
parentaf3009b38ddcfcc57a8bd5cafa58b317f338def8 (diff)
downloadaur-aecb1469e4545674ec675e401c481569b47300d9.tar.gz
26.0.50.127211-1 Drop that unsightly r in the version string.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e8a75b8ac9a3..e78c9e1e5a4d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,7 +38,7 @@ DOCS_PDF= # Generate and install pdf documentation.
#######################################################################
pkgname=emacs-git
-pkgver=25.1.50.r127001
+pkgver=26.0.50.127211
pkgrel=1
pkgdesc="GNU Emacs. Master development branch."
arch=('i686' 'x86_64')
@@ -64,9 +64,9 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
- printf "%s.r%s" \
+ printf "%s.%s" \
"$(grep AC_INIT configure.ac | \
- sed -e 's/^.\+\ \([0-9]\+\.[0-9]\+\.[0-9]\+\).\+$/\1/')" \
+ sed -e 's/^.\+\ \([0-9]\+\.[0-9]\+\.[0-9]\+\?\).\+$/\1/')" \
"$(git rev-list --count HEAD)"
}