git » bluedevil.git » commit 7aa7f05

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 7b3a1a144088988a2be800b130986083d3b4279a

Don't break source url for bug fix releases

PKGBUILD +2 -1

diff --git a/PKGBUILD b/PKGBUILD
index ee032ec..c55e473 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,6 +4,7 @@
 
 pkgname=bluedevil
 pkgver=5.27.4
+_dirver=$(echo $pkgver | cut -d. -f1-3)
 pkgrel=1
 epoch=1
 pkgdesc='Integrate the Bluetooth technology within KDE workspace and applications'
@@ -14,7 +15,7 @@ depends=(bluez-qt kdeclarative)
 makedepends=(extra-cmake-modules plasma-framework kdoctools kcmutils)
 optdepends=('pulseaudio-bluetooth: to connect to A2DP profile')
 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=('101871f56da19ae667d61ec32addc446eb94f81ce0c541cf0367de96c3c896a3'
             'SKIP')
 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr@jriddell.org>