[arch-commits] Commit in kajongg/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Dec 18 10:27:28 UTC 2021


    Date: Saturday, December 18, 2021 @ 10:27:27
  Author: arojas
Revision: 432731

Fix running on Python 3.10

Modified:
  kajongg/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-18 10:14:22 UTC (rev 432730)
+++ PKGBUILD	2021-12-18 10:27:27 UTC (rev 432731)
@@ -4,7 +4,7 @@
 
 pkgname=kajongg
 pkgver=21.12.0
-pkgrel=2
+pkgrel=3
 pkgdesc='The ancient Chinese board game for 4 players'
 url='https://apps.kde.org/kajongg/'
 arch=(any)
@@ -13,13 +13,19 @@
 depends=(python-twisted python-pyqt5 libkmahjongg hicolor-icon-theme)
 makedepends=(extra-cmake-modules kdoctools)
 optdepends=('vorbis-tools: for playing sounds')
-source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/games/kajongg/-/commit/779521fa.patch)
 sha256sums=('e62c61d5b753d5db712e7bf9fdcef1687deed2bcb870421a51347d3eeb12d295'
-            'SKIP')
+            'SKIP'
+            '3a0f97fb4272aa52bd7a8e1cdf2386bcac847a81a50eda55e410b5042ea0789f')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck at kde.org>
               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 779521fa.patch # Fix running on Python 3.10
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver
   cmake --build build



More information about the arch-commits mailing list