summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Andresen2017-09-11 16:15:45 +0200
committerBenjamin Andresen2017-09-11 16:15:45 +0200
commita360ccffc953b0a3ab6bbb6c874f9c53f7069c74 (patch)
treeb541fa523b7de93c49f1b6f71637c2787a1acc73
parent2ab979213e033629c1a44b59754e9138b674ec65 (diff)
downloadaur-a360ccffc953b0a3ab6bbb6c874f9c53f7069c74.tar.gz
updated pkgver to work properly from a shallow clone
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5f886f8b45e8..a3bf0343974b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -43,8 +43,8 @@ NOGZ="YES" # Don't compress el files. Info and man pages are
#######################################################################
pkgname=emacs-git-shallow
-pkgver=26.0.50.1
-pkgrel=2
+pkgver=26.0.50.20170911T1615
+pkgrel=1
pkgdesc="GNU Emacs [master] (shallow clone [20% disk space])"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/emacs/"
@@ -130,7 +130,7 @@ pkgver() {
printf "%s.%s" \
"$(grep AC_INIT configure.ac | \
sed -e 's/^.\+\ \([0-9]\+\.[0-9]\+\.[0-9]\+\?\).\+$/\1/')" \
- "$(git rev-list --count HEAD)"
+ "$(date +%Y%m%dT%H%M)"
}