[arch-commits] Commit in plasma-wayland-protocols/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Apr 3 17:29:41 UTC 2021


    Date: Saturday, April 3, 2021 @ 17:29:40
  Author: arojas
Revision: 411468

Fix version number

Modified:
  plasma-wayland-protocols/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-03 17:05:34 UTC (rev 411467)
+++ PKGBUILD	2021-04-03 17:29:40 UTC (rev 411468)
@@ -2,7 +2,7 @@
 
 pkgname=plasma-wayland-protocols
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Plasma Specific Protocols for Wayland"
 arch=(any)
 url="https://kde.org/plasma-desktop"
@@ -9,11 +9,17 @@
 license=(LGPL)
 depends=()
 makedepends=(qt5-base extra-cmake-modules)
-source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
+        plasma-wayland-protocols-fix-version.patch::https://invent.kde.org/libraries/plasma-wayland-protocols/-/commit/e4bc4e0d.patch)
 sha256sums=('820dd6347f835f0f066a5f76333f29882d471fe6c4a02249d50901e0e81ef617'
-            'SKIP')
+            'SKIP'
+            'f1a8dddb0258ca1a92a4506f3b571901df853e7a4b34df0166da6a98a9675c0f')
 validpgpkeys=(CA1B4E348D22755A67EF4E1A6A4F2C4CDC8BC77F) # Aleix Pol Gonzalez <aleixpol at kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < plasma-wayland-protocols-fix-version.patch # Fix version number
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver
   cmake --build build



More information about the arch-commits mailing list