git » kde-gtk-config.git » commit e4d381f

upgpkg: 6.0.0-2

author Antonio Rojas
2024-02-29 07:15:46 UTC
committer Antonio Rojas
2024-02-29 07:15:46 UTC
parent af34afc75f5213f39d02545cbb637f37df33eb6c

upgpkg: 6.0.0-2

.SRCINFO +2 -2
PKGBUILD +3 -5

diff --git a/.SRCINFO b/.SRCINFO
index 479cbb8..a64fbc7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = kde-gtk-config
 	pkgdesc = GTK2 and GTK3 Configurator for KDE
 	pkgver = 6.0.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://kde.org/plasma-desktop/
 	arch = x86_64
 	groups = plasma
@@ -26,7 +26,7 @@ pkgbase = kde-gtk-config
 	optdepends = xsettingsd: apply settings to GTK applications on the fly
 	source = https://download.kde.org/stable/plasma/6.0.0/kde-gtk-config-6.0.0.tar.xz
 	source = https://download.kde.org/stable/plasma/6.0.0/kde-gtk-config-6.0.0.tar.xz.sig
-	source = kde-gtk-config-541004a3.patch::https://invent.kde.org/plasma/kde-gtk-config/-/commit/541004a3339fe066d349646684fbb31bfcb564bf.patch
+	source = https://invent.kde.org/plasma/kde-gtk-config/-/commit/541004a3.patch
 	validpgpkeys = E0A3EB202F8E57528E13E72FD7574483BB57B18D
 	validpgpkeys = 0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D
 	validpgpkeys = D07BD8662C56CB291B316EB2F5675605C74E02CF
diff --git a/PKGBUILD b/PKGBUILD
index e7163b0..38fc666 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 pkgname=kde-gtk-config
 pkgver=6.0.0
 _dirver=$(echo $pkgver | cut -d. -f1-3)
-pkgrel=1
+pkgrel=2
 pkgdesc='GTK2 and GTK3 Configurator for KDE'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
@@ -30,7 +30,7 @@ optdepends=('gtk3: GTK3 apps support'
             'xsettingsd: apply settings to GTK applications on the fly')
 groups=(plasma)
 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig}
-        $pkgname-541004a3.patch::https://invent.kde.org/plasma/kde-gtk-config/-/commit/541004a3339fe066d349646684fbb31bfcb564bf.patch)
+        https://invent.kde.org/plasma/kde-gtk-config/-/commit/541004a3.patch)
 sha256sums=('60071ffcb5427818a50caa95b2272489da10805c32b975d382026c078f8d8453'
             'SKIP'
             '19d028af2a6d060cfbac881876a2541cc3d101434fb292c13bebe2663aeeefe2')
@@ -40,10 +40,8 @@ validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell
               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
 
 prepare() {
-  cd "$pkgname-$pkgver"
-
   # https://invent.kde.org/plasma/kde-gtk-config/-/merge_requests/107
-  patch -Np1 -i ../$pkgname-541004a3.patch
+  patch -d $pkgname-$pkgver -p1 < 541004a3.patch
 }
 
 build() {