summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhinoceros2015-08-11 20:40:28 +1000
committerRhinoceros2015-08-11 20:40:28 +1000
commitb958150049eed4c5dfa908d69ca7197c14729af5 (patch)
tree90faebcd9a2590688fefb5c6906c8979a44ecf09
parentb9915c1c5d346849cfc1352c28430f0b08bc32d3 (diff)
downloadaur-b958150049eed4c5dfa908d69ca7197c14729af5.tar.gz
Upgrade to 1:r66.447fb27-1
* Fix pkgver() as per Arch wiki recommendations * Bumped epoch, so that new (correct) version is newer than previous version
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4bd27600b769..687e1fb0aafc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = vim-committia-git
pkgdesc = A Vim plugin for more pleasant editing of Git commit messages
- pkgver = 20150529
+ pkgver = r66.447fb27
pkgrel = 1
+ epoch = 1
url = https://github.com/rhysd/committia.vim
install = vimdoc.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 15b269a415ca..6ee6dd945066 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,9 @@
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=vim-committia-git
-pkgver=20150529
+pkgver=r66.447fb27
pkgrel=1
+epoch=1
pkgdesc='A Vim plugin for more pleasant editing of Git commit messages'
arch=('any')
depends=('vim')
@@ -19,7 +20,7 @@ install=vimdoc.install
pkgver() {
cd ${pkgname%-git}
- git log -1 --format="%cd" --date=short | sed "s|-||g"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {