git » oxygen.git » commit 537d265

upgpkg: 6.0.1-4: Make oxygen5 replace Plasma5 oxygen

author Antonio Rojas
2024-03-09 15:52:40 UTC
committer Antonio Rojas
2024-03-09 15:52:40 UTC
parent 1c4ddbcb481f8b787fec674167e4060e353e37a1

upgpkg: 6.0.1-4: Make oxygen5 replace Plasma5 oxygen

.SRCINFO +3 -1
PKGBUILD +3 -1

diff --git a/.SRCINFO b/.SRCINFO
index f8c8bbc..f93158f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = oxygen
 	pkgdesc = KDE Oxygen style
 	pkgver = 6.0.1
-	pkgrel = 3
+	pkgrel = 4
 	url = https://kde.org/plasma-desktop/
 	arch = x86_64
 	groups = plasma
@@ -61,3 +61,5 @@ pkgname = oxygen5
 	depends = qt5-declarative
 	depends = qt5-x11extras
 	optdepends = 
+	conflicts = oxygen<5.27.80
+	replaces = oxygen<5.27.80
diff --git a/PKGBUILD b/PKGBUILD
index 2804647..9595eb7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=(oxygen
 pkgdesc='KDE Oxygen style'
 pkgver=6.0.1
 _dirver=$(echo $pkgver | cut -d. -f1-3)
-pkgrel=3
+pkgrel=4
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
 license=(LGPL-2.0-or-later)
@@ -79,6 +79,8 @@ package_oxygen5() {
            qt5-base
            qt5-declarative
            qt5-x11extras)
+  conflicts=('oxygen<5.27.80')
+  replaces=('oxygen<5.27.80')
   optdepends=()
   groups=()