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 /PKGBUILD | |
parent | 53b4974755c574fd90bba5d9ae52d4bcd9c02f89 (diff) | |
download | aur-57ed555515329d0d5bb9fc79c835b84002a141aa.tar.gz |
added pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() { |