summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGenerator2017-04-19 15:39:33 +0100
committerGenerator2017-04-19 15:39:33 +0100
commit627787a32669a566e24292864b46490ef9f4d702 (patch)
treec3d0133a12557460dfceb7efa8c29bea249087ca
parentdd51bd60f9a19be2d261162d5866d26499be188d (diff)
downloadaur-627787a32669a566e24292864b46490ef9f4d702.tar.gz
Missing pkgver
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb6c1dd484d..38934cb2c9b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Apr 18 15:07:06 UTC 2017
+# Wed Apr 19 14:39:06 UTC 2017
pkgbase = grive-indicator-git
pkgdesc = A very simple and lightweight indicator applet to synchronize with Google Drive using grive
pkgver = 0.5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/LyzardKing/grive-indicator
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index d9e73570f0f..435bc123981 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=grive-indicator
pkgname=$_pkgname-git
pkgver=0.5
-pkgrel=1
+pkgrel=2
pkgdesc='A very simple and lightweight indicator applet to synchronize with Google Drive using grive'
arch=('any')
url='https://github.com/LyzardKing/grive-indicator'
@@ -12,6 +12,11 @@ makedepends=('git' 'python')
source=('grive-indicator::git+https://github.com/LyzardKing/grive-indicator.git')
md5sums=('SKIP')
+pkgver() {
+ cd "$_pkgname"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
package() {
cd "$_pkgname"