summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStorm2016-08-11 19:05:45 -0400
committerStorm2016-08-11 19:05:45 -0400
commit4c2f2d749bea3aede7c8695e6670377e62cab8cc (patch)
tree9aa87c69e18e1cb9b2f1c94892868dac0c0d50fe
parent2cd4daed01ae3c002576a5ece4c5c687bac2e7a1 (diff)
downloadaur-4c2f2d749bea3aede7c8695e6670377e62cab8cc.tar.gz
Fixed pkgver()
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f86a7b5187..78b18b0117c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Jan 26 17:02:54 UTC 2016
+# Thu Aug 11 23:05:28 UTC 2016
pkgbase = talking-clock-git
pkgdesc = Highly configurable clock written in bash with soundpack and voice options.
- pkgver = 15
- pkgrel = 3
+ pkgver = v15.0.r5.3b6827e
+ pkgrel = 1
url = https://notabug.org/stormdragon2976/talking-clock
arch = any
license = WTFPL
diff --git a/PKGBUILD b/PKGBUILD
index 7467ee8e30b..bccb81f97d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
_pkgname=talking-clock
pkgname=talking-clock-git
-pkgver=3
+pkgver=v15.0.r5.3b6827e
pkgrel=1
pkgdesc="Highly configurable clock written in bash with soundpack and voice options."
arch=('any')
@@ -27,10 +27,10 @@ md5sums=("SKIP")
pkgver()
{
- cd "$_pkgname"
- git shortlog | head -n 1 | tr -Cd "[:digit:]"
-}
-
+ cd "${_pkgname}"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+}
+
package()
{
cd "$_pkgname"