[arch-commits] Commit in kajongg/repos/kde-unstable-any (3 files)

Antonio Rojas arojas at archlinux.org
Fri Apr 3 20:47:46 UTC 2020


    Date: Friday, April 3, 2020 @ 20:47:45
  Author: arojas
Revision: 379363

archrelease: copy kde-unstable to kde-unstable-any

Added:
  kajongg/repos/kde-unstable-any/PKGBUILD
    (from rev 379362, kajongg/kde-unstable/PKGBUILD)
Deleted:
  kajongg/repos/kde-unstable-any/PKGBUILD
  kajongg/repos/kde-unstable-any/kajongg-destdir.patch

-----------------------+
 PKGBUILD              |   75 ++++++++++++++++++++++--------------------------
 kajongg-destdir.patch |   23 --------------
 2 files changed, 35 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-03 20:47:14 UTC (rev 379362)
+++ PKGBUILD	2020-04-03 20:47:45 UTC (rev 379363)
@@ -1,40 +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=20.03.80
-pkgrel=1
-pkgdesc="The ancient Chinese board game for 4 players"
-url="https://kde.org/applications/games/kajongg/"
-arch=(any)
-license=(GPL LGPL FDL)
-groups=(kde-applications kdegames)
-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/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
-         kajongg-destdir.patch)
-sha256sums=('00d70a5cc67207012c34360ab7f7124da597243c22416faf20829995d0934076'
-            'SKIP'
-            '456282348c31c71e8e49dea26df9f47de992cdaf3306e60005c433bf4326d565')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
-              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
-
-prepare() {
-  mkdir -p build
-
-  cd $pkgname-$pkgver
-  patch -p1 -i ../kajongg-destdir.patch
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: kajongg/repos/kde-unstable-any/PKGBUILD (from rev 379362, kajongg/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-03 20:47:45 UTC (rev 379363)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kajongg
+pkgver=20.03.90
+pkgrel=1
+pkgdesc="The ancient Chinese board game for 4 players"
+url="https://kde.org/applications/games/kajongg/"
+arch=(any)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdegames)
+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/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('804c9a11778dfaf84190e3fbb5a2280783acdbaa73badbeb12d723cd80a15b07'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Deleted: kajongg-destdir.patch
===================================================================
--- kajongg-destdir.patch	2020-04-03 20:47:14 UTC (rev 379362)
+++ kajongg-destdir.patch	2020-04-03 20:47:45 UTC (rev 379363)
@@ -1,23 +0,0 @@
-diff --git a/cmake-modules/KDEPython.cmake b/cmake-modules/KDEPython.cmake
-index 8209c98c..b687a230 100644
---- a/cmake-modules/KDEPython.cmake
-+++ b/cmake-modules/KDEPython.cmake
-@@ -108,13 +108,13 @@ MACRO(KDE_ADD_PYTHON_EXECUTABLE _pyname _exename)
-     set(TARGET ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/${PROJECT_NAME}/${_pyname})
-     set(LINK_NAME ${CMAKE_INSTALL_PREFIX}/${BIN_INSTALL_DIR}/${_exename})
- 
--    GET_FILENAME_COMPONENT(abs_link_name $ENV{DESTDIR}/${LINK_NAME} ABSOLUTE)
--    GET_FILENAME_COMPONENT(link_path $ENV{DESTDIR}/${LINK_NAME} PATH)
-+    GET_FILENAME_COMPONENT(abs_link_name ${LINK_NAME} ABSOLUTE)
-+    GET_FILENAME_COMPONENT(link_path ${LINK_NAME} PATH)
-     GET_FILENAME_COMPONENT(abs_link_path ${link_path} ABSOLUTE)
--    FILE(MAKE_DIRECTORY ${abs_link_path})
-     GET_FILENAME_COMPONENT(abs_target ${TARGET} ABSOLUTE)
- 
--    INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink ${abs_target} ${abs_link_name})")
--    INSTALL(CODE "EXECUTE_PROCESS(COMMAND chmod a+x $ENV{DESTDIR}/${abs_target})")
-+    INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E make_directory \$ENV\{DESTDIR\}${abs_link_path})")
-+    INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink ${abs_target} \$ENV\{DESTDIR\}${abs_link_name})")
-+    INSTALL(CODE "EXECUTE_PROCESS(COMMAND chmod a+x \$ENV\{DESTDIR\}/${abs_target})")
- 
- ENDMACRO(KDE_ADD_PYTHON_EXECUTABLE)



More information about the arch-commits mailing list