summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHezekiah Michael2019-10-25 15:12:50 -0400
committerHezekiah Michael2019-10-25 15:12:50 -0400
commitf6d0403c04a94cfef2361a568a11187bcce11264 (patch)
treea9532a95f4090ccb0d00b52917a864563d0c71cd
parent71686562a51b8fa387923896df08de5b71102d91 (diff)
downloadaur-f6d0403c04a94cfef2361a568a11187bcce11264.tar.gz
Change version from date to git rev
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bf0b9a580c4..1f78d79ca41 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vim-colors-brogrammer-git
pkgdesc = A dark, colorful syntax highlighting theme for vim.
- pkgver = 20190529
+ pkgver = r1.7168656
pkgrel = 1
url = https://github.com/ErikBoesen/vim-brogrammer-theme
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 1dde7292383..e26a2273e8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Hezekiah Michael < spiritomb at protonmail dot com>
pkgname=vim-colors-brogrammer-git
-pkgver=20190529
+pkgver=r1.7168656
pkgrel=1
pkgdesc="A dark, colorful syntax highlighting theme for vim."
arch=('any')
@@ -13,7 +13,7 @@ source=("$pkgname::git://github.com/ErikBoesen/vim-brogrammer-theme.git")
sha256sums=('SKIP')
pkgver() {
- date +%Y%m%d
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {