[arch-commits] Commit in kajongg/repos/extra-any (PKGBUILD PKGBUILD)

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


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

archrelease: copy trunk to extra-any

Added:
  kajongg/repos/extra-any/PKGBUILD
    (from rev 432731, kajongg/trunk/PKGBUILD)
Deleted:
  kajongg/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 36 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-18 10:27:27 UTC (rev 432731)
+++ PKGBUILD	2021-12-18 10:27:41 UTC (rev 432732)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kajongg
-pkgver=21.12.0
-pkgrel=2
-pkgdesc='The ancient Chinese board game for 4 players'
-url='https://apps.kde.org/kajongg/'
-arch=(any)
-license=(GPL LGPL FDL)
-groups=(kde-applications kde-games)
-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})
-sha256sums=('e62c61d5b753d5db712e7bf9fdcef1687deed2bcb870421a51347d3eeb12d295'
-            'SKIP')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
-              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck at kde.org>
-              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
-
-build() {
-  cmake -B build -S $pkgname-$pkgver
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: kajongg/repos/extra-any/PKGBUILD (from rev 432731, kajongg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-18 10:27:41 UTC (rev 432732)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kajongg
+pkgver=21.12.0
+pkgrel=3
+pkgdesc='The ancient Chinese board game for 4 players'
+url='https://apps.kde.org/kajongg/'
+arch=(any)
+license=(GPL LGPL FDL)
+groups=(kde-applications kde-games)
+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}
+        https://invent.kde.org/games/kajongg/-/commit/779521fa.patch)
+sha256sums=('e62c61d5b753d5db712e7bf9fdcef1687deed2bcb870421a51347d3eeb12d295'
+            '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
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list