summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStorm Dragon2019-09-19 10:17:34 -0400
committerStorm Dragon2019-09-19 10:17:34 -0400
commitd39e60cfa825ba4cd9c5e9684399f96113ab22c5 (patch)
tree33c50fb9079dd73b655a54b0e85ce62038fbf100
parent463a4b36fee2eb2edfd400f21937f8d77a7f1a0c (diff)
downloadaur-talking-clock-git.tar.gz
Made pkgver better.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a2f97ff055..6edf17e58f2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = talking-clock-git
pkgdesc = Highly configurable clock written in bash with soundpack and voice options.
- pkgver = v15.0.r5.3b6827e
+ pkgver = r40.0a7fffb
pkgrel = 1
url = https://gitlab.com/stormdragon2976/talking-clock
arch = any
@@ -13,7 +13,7 @@ pkgbase = talking-clock-git
optdepends = jq: For the current temperature
optdepends = translate-shell: TTS support
optdepends = speech-dispatcher: TTS support
- optdepends = svox-pico-git: TTS support
+ optdepends = rhvoice-git: TTS support
optdepends = pulseaudio: Chime sound support
optdepends = sox: Chime sound support
optdepends = vorbis-tools: Chime sound support
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()