diff options
author | ichigo663 | 2016-04-25 01:39:54 +0200 |
---|---|---|
committer | ichigo663 | 2016-04-25 01:39:54 +0200 |
commit | 57ed555515329d0d5bb9fc79c835b84002a141aa (patch) | |
tree | 9c3749bb88552f64c83130707a7ed1e89eb4b7dc | |
parent | 53b4974755c574fd90bba5d9ae52d4bcd9c02f89 (diff) | |
download | aur-57ed555515329d0d5bb9fc79c835b84002a141aa.tar.gz |
added pkgver
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = kmailapplet-git pkgdesc = A Mail Applet for the system tray to watch your Maildir box and get notifications whenever there's a new mail. - pkgver = 1.0 - pkgrel = 2 + pkgver = 1.0.r2.g8e48c9e + pkgrel = 1 url = https://github.com/ichigo663/KMailApplet arch = any license = GPL3 @@ -12,7 +12,7 @@ pkgbase = kmailapplet-git depends = gcc-libs depends = boost-libs depends = qt5-base - provides = kmailapplet-git=1.0 + provides = kmailapplet-git=1.0.r2.g8e48c9e conflicts = kmailapplet-git source = kmailapplet-git::git+https://github.com/ichigo663/KMailApplet.git md5sums = SKIP @@ -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() { |