diff options
author | Mike Harris | 2018-03-04 11:53:02 -0800 |
---|---|---|
committer | Mike Harris | 2018-03-04 11:53:02 -0800 |
commit | d63d61e05651ec09d13847a458026479c0e4c4eb (patch) | |
tree | 6bcc12891a2532b77424c79593bd20a29ec55eed /PKGBUILD | |
parent | 78f44f69c32d963dff86b15599c6d18f5df0bf66 (diff) | |
download | aur-d63d61e05651ec09d13847a458026479c0e4c4eb.tar.gz |
fixed pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ #Maintainer Mike Harris <mike.a.harris@outlook.com> pkgname=plasma5-applets-kde-arch-update-notifier-git -pkgver=4.1.0 +pkgver=4.1.r0.g9bbd84c pkgrel=1 pkgdesc="A KDE plasmoid for your system tray notifying you of available updates with AUR Support" url="https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid" @@ -16,7 +16,7 @@ install= source=("git+https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid.git") md5sums=("SKIP") pkgver() { - cd "$srcdir/${pkgname}" + cd "$srcdir/kde-arch-update-plasmoid" # cutting off 'foo-' prefix that presents in the git tag printf "%s" "$(git describe --long | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g')" } |