summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMKzero2016-03-10 15:00:33 +0100
committerMKzero2016-03-10 15:00:33 +0100
commit317d68d2d044e99e693973530eaaf9365b2da94d (patch)
tree1ce6055a2a8b5d47c213582e910b548bf0dbbe4c /PKGBUILD
parentd7d2d41704d484384881eea5d880c94f0cbb647e (diff)
downloadaur-317d68d2d044e99e693973530eaaf9365b2da94d.tar.gz
Fixed wrong path for pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c16480dfcdd..c4f2ee5a905 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: mkzero <me [at] linux-web-development [dot] de>
pkgname=yakyak-git
pkgver=1
-pkgrel=2
+pkgrel=3
pkgdesc="Desktop client for Google Hangouts"
arch=('x86_64' 'i686')
url="https://github.com/yakyak/yakyak"
@@ -27,7 +27,7 @@ sha256sums_x86_64=('3475f41619c0764ddaae968c8b600365ef25fe6a66b4b046050c3020bc68
noextract=("electron-v${_electron_version}-linux-${_arch}.zip")
pkgver() {
- cd "$srcdir$pkgname"
+ cd "$srcdir/yakyak"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"