summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 294b22bdf756..8824c107f3d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tewisay-git
pkgdesc = Cowsay replacement with unicode and partial ansi escape support.
pkgver = 0.66.caa5b01
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/raymond-w-ko/tewisay
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 7761764bf32a..7b8b56ad2053 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=tewisay-git
_gitname='tewisay'
pkgver=0.66.caa5b01
-pkgrel=1
+pkgrel=2
pkgdesc='Cowsay replacement with unicode and partial ansi escape support.'
url='https://github.com/raymond-w-ko/tewisay'
license=('custom:CC0')
@@ -16,7 +16,7 @@ source=('git+https://github.com/raymond-w-ko/tewisay.git')
sha256sums=('SKIP')
pkgver() {
- cd "$pkgname"
+ cd "$srcdir/$_gitname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}