summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorichigo6632016-04-25 01:39:54 +0200
committerichigo6632016-04-25 01:39:54 +0200
commit57ed555515329d0d5bb9fc79c835b84002a141aa (patch)
tree9c3749bb88552f64c83130707a7ed1e89eb4b7dc /PKGBUILD
parent53b4974755c574fd90bba5d9ae52d4bcd9c02f89 (diff)
downloadaur-57ed555515329d0d5bb9fc79c835b84002a141aa.tar.gz
added pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index de32ee3c6bd4..b129941b6d60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Antonio Cardace <anto.cardace@gmail.com>
pkgname=kmailapplet-git
-pkgver=1.0
-pkgrel=2
+pkgver=1.0.r2.g8e48c9e
+pkgrel=1
pkgdesc="A Mail Applet for the system tray to watch your Maildir box and get notifications whenever there's a new mail."
arch=('any')
url="https://github.com/ichigo663/KMailApplet"
@@ -14,8 +14,8 @@ source=("$pkgname::git+https://github.com/ichigo663/KMailApplet.git")
md5sums=("SKIP")
pkgver() {
- cd "$pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ cd "$srcdir/$pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {