summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorichigo6632016-04-25 01:39:54 +0200
committerichigo6632016-04-25 01:39:54 +0200
commit57ed555515329d0d5bb9fc79c835b84002a141aa (patch)
tree9c3749bb88552f64c83130707a7ed1e89eb4b7dc
parent53b4974755c574fd90bba5d9ae52d4bcd9c02f89 (diff)
downloadaur-57ed555515329d0d5bb9fc79c835b84002a141aa.tar.gz
added pkgver
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb6cd854ec0a..5d9b9ecd1125 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
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() {