summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 483f0bbfc7db..8c1fba0ba4c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Sergei Snitsky <stalker.medik@gmail.com>
pkgname='yandex-disk-indicator'
-pkgver=1.11.0
+pkgver=1.11.0.139e473
pkgrel=1
pkgdesc="Panel indicator (GUI) for YandexDisk CLI client for Linux."
arch=('i686' 'x86_64')
@@ -13,6 +13,10 @@ depends=('yandex-disk' 'python' 'python-pyinotify' 'pygobject-devel' 'python-gob
source=("$pkgname::git+https://github.com/slytomcat/${pkgname}.git")
sha1sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
prepare() {
cd $pkgname/build