summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHezekiah Michael2019-10-25 15:45:15 -0400
committerHezekiah Michael2019-10-25 15:45:15 -0400
commita6518f8ece1a21557766efd9da57793c54e960fc (patch)
treeb549f30570ffacc6227b33aa211071d5f37f64c6 /PKGBUILD
parentbd1cab9a7c4f5d98af82a78a78dcd6d1b2356956 (diff)
downloadaur-a6518f8ece1a21557766efd9da57793c54e960fc.tar.gz
Update versioning method
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 65640601edaa..a33b951fab31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Hezekiah Michael < spiritomb at protonmail dot com>
pkgname=neovim-colors-brogrammer-git
-pkgver=20190529
+pkgver=r1.bd1cab9
pkgrel=1
pkgdesc="A dark, colorful syntax highlighting theme."
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() {