git » plasma-firewall.git » commit 092e30f

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 56156ad0e0547360e35e3bf4583dad553a33ccc2

Don't break source url for bug fix releases

PKGBUILD +2 -1

diff --git a/PKGBUILD b/PKGBUILD
index 0544961..0c1cc3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
 
 pkgname=plasma-firewall
 pkgver=5.27.4
+_dirver=$(echo $pkgver | cut -d. -f1-3)
 pkgrel=1
 pkgdesc='Control Panel for your system firewall'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
 license=(GPL LGPL)
-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})
 depends=(systemsettings)
 makedepends=(extra-cmake-modules)
 optdepends=('iproute2: netstat backend'