summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Lezaeta Reyes2017-10-06 01:51:51 -0300
committerPablo Lezaeta Reyes2017-10-06 01:51:51 -0300
commit5dead6b7701147ad183d5f9db233668d56805d91 (patch)
tree67a068cef64020e93563e51d6744e0b5bfd15051
parentec7bd35b38d911389dbdd9e84abed91972875c2c (diff)
downloadaur-5dead6b7701147ad183d5f9db233668d56805d91.tar.gz
Update version
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
-rw-r--r--.SRCINFO2
-rwxr-xr-xPKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 919bf2d2123..65c52c60d14 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ponysay-git
pkgdesc = Cowsay reimplementation for ponies.
- pkgver = 3.0.2.r2410
+ pkgver = 3.0.3+1
pkgrel = 1
url = https://github.com/erkin/ponysay
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index b849582f6bb..aa4b201e0e3 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=ponysay-git
_pkgname=ponysay
-pkgver=3.0.2.r2410
+pkgver=3.0.3+1
pkgrel=1
pkgdesc="Cowsay reimplementation for ponies."
arch=("any")
@@ -21,7 +21,7 @@ md5sums=("SKIP")
pkgver(){
cd "${_pkgname}"
- echo "$(git describe --always --abbrev=0 ).r$(git rev-list --count HEAD | sed 's/-/./g' )"
+ echo "$(git describe --long | sed -r 's/-([0-9,a-g,A-G]{7}.*)//' | sed 's/-/+/' )"
}
package() {