diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |