diff options
author | Benjamin Andresen | 2017-09-11 16:15:45 +0200 |
---|---|---|
committer | Benjamin Andresen | 2017-09-11 16:15:45 +0200 |
commit | a360ccffc953b0a3ab6bbb6c874f9c53f7069c74 (patch) | |
tree | b541fa523b7de93c49f1b6f71637c2787a1acc73 | |
parent | 2ab979213e033629c1a44b59754e9138b674ec65 (diff) | |
download | aur-a360ccffc953b0a3ab6bbb6c874f9c53f7069c74.tar.gz |
updated pkgver to work properly from a shallow clone
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)" } |