git » plasma-integration.git » commit 55b32e9

Don't break source url for bug fix releases

author Antonio Rojas
2023-04-13 17:40:55 UTC
committer Antonio Rojas
2023-04-13 17:40:55 UTC
parent 2b2ce641ae709f1a307e1deb834fafff58dd0751

Don't break source url for bug fix releases

PKGBUILD +2 -1

diff --git a/PKGBUILD b/PKGBUILD
index eea0831..79c2070 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,6 +3,7 @@
 
 pkgname=plasma-integration
 pkgver=5.27.4
+_dirver=$(echo $pkgver | cut -d. -f1-3)
 pkgrel=1
 pkgdesc='Qt Platform Theme integration plugins for the Plasma workspaces'
 arch=(x86_64)
@@ -11,7 +12,7 @@ license=(LGPL)
 depends=(libxcursor noto-fonts ttf-hack qqc2-desktop-style perl)
 makedepends=(extra-cmake-modules breeze plasma-wayland-protocols)
 groups=(plasma)
-source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
 sha256sums=('9aa095f628d601d71283bb7b3274e2b8bfebd913c5804e3b371a5326f24b892e'
             'SKIP')
 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr@jriddell.org>