summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStorm Dragon2019-09-19 10:17:34 -0400
committerStorm Dragon2019-09-19 10:17:34 -0400
commitd39e60cfa825ba4cd9c5e9684399f96113ab22c5 (patch)
tree33c50fb9079dd73b655a54b0e85ce62038fbf100 /PKGBUILD
parent463a4b36fee2eb2edfd400f21937f8d77a7f1a0c (diff)
downloadaur-talking-clock-git.tar.gz
Made pkgver better.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2e2e659ae07..36b117677c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
_pkgname=talking-clock
pkgname=talking-clock-git
-pkgver=v15.0.r5.3b6827e
+pkgver=r40.0a7fffb
pkgrel=1
pkgdesc="Highly configurable clock written in bash with soundpack and voice options."
arch=('any')
@@ -15,7 +15,7 @@ optdepends=('espeak: TTS support'
'jq: For the current temperature'
'translate-shell: TTS support'
'speech-dispatcher: TTS support'
- 'svox-pico-git: TTS support'
+ 'rhvoice-git: TTS support'
'pulseaudio: Chime sound support'
'sox: Chime sound support'
'vorbis-tools: Chime sound support'
@@ -28,7 +28,7 @@ md5sums=("SKIP")
pkgver()
{
cd "$_pkgname"
- git shortlog | head -n 1 | tr -Cd "[:digit:]"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package()