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

Antonio Rojas arojas at archlinux.org
Tue Apr 19 12:15:33 UTC 2016


    Date: Tuesday, April 19, 2016 @ 14:15:33
  Author: arojas
Revision: 265330

archrelease: copy trunk to kde-unstable-any

Added:
  kdegames-kajongg/repos/kde-unstable-any/PKGBUILD
    (from rev 265329, kdegames-kajongg/trunk/PKGBUILD)
  kdegames-kajongg/repos/kde-unstable-any/kdegames-kajongg.install
    (from rev 265329, kdegames-kajongg/trunk/kdegames-kajongg.install)
Deleted:
  kdegames-kajongg/repos/kde-unstable-any/PKGBUILD
  kdegames-kajongg/repos/kde-unstable-any/kdegames-kajongg.install

--------------------------+
 PKGBUILD                 |   87 +++++++++++++++++++++++----------------------
 kdegames-kajongg.install |   22 +++++------
 2 files changed, 57 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-19 12:15:22 UTC (rev 265329)
+++ PKGBUILD	2016-04-19 12:15:33 UTC (rev 265330)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdegames-kajongg
-pkgver=16.03.90
-pkgrel=1
-pkgdesc="The ancient Chinese board game for 4 players"
-url="http://kde.org/applications/games/kajongg/"
-arch=('any')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdegames')
-depends=('kdebase-runtime' 'python2-twisted' 'kdebindings-python2' 'libkmahjongg4')
-makedepends=('cmake' 'automoc4')
-install=${pkgname}.install
-source=("http://download.kde.org/unstable/applications/${pkgver}/src/kajongg-${pkgver}.tar.xz")
-sha1sums=('122cac9aa9f9efa2b31790f04cab34c40c0a2643')
-
-prepare() {
-  mkdir -p build
-
-  cd kajongg-${pkgver}
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
-    src/{deferredutil,kajongg,kajonggserver,server}.py
-}
-
-build() {
-  cd build
-  cmake ../kajongg-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DKDE4_BUILD_TESTS=OFF \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-    -DINSTALL_KAJONGG=TRUE
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="${pkgdir}" install
-}

Copied: kdegames-kajongg/repos/kde-unstable-any/PKGBUILD (from rev 265329, kdegames-kajongg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-04-19 12:15:33 UTC (rev 265330)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kajongg
+pkgver=16.04.0
+pkgrel=1
+pkgdesc="The ancient Chinese board game for 4 players"
+url="http://kde.org/applications/games/kajongg/"
+arch=('any')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('kdebase-runtime' 'python2-twisted' 'kdebindings-python2' 'libkmahjongg')
+makedepends=('cmake' 'automoc4')
+optdepends=('vorbis-tools: for playing sounds')
+conflicts=('libkmahjongg4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kajongg-${pkgver}.tar.xz")
+sha1sums=('a3ef1c722901b20e965f992bb1fe969f4c242379')
+
+prepare() {
+  mkdir -p build
+
+  cd kajongg-${pkgver}
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+    src/{deferredutil,kajongg,kajonggserver,server}.py
+}
+
+build() {
+  cd build
+  cmake ../kajongg-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DINSTALL_KAJONGG=TRUE
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+# Use tilesets from KF5 libkhmahjongg
+  ln -s /usr/share/kmahjongglib "$pkgdir"/usr/share/apps/kmahjongglib
+}

Deleted: kdegames-kajongg.install
===================================================================
--- kdegames-kajongg.install	2016-04-19 12:15:22 UTC (rev 265329)
+++ kdegames-kajongg.install	2016-04-19 12:15:33 UTC (rev 265330)
@@ -1,11 +0,0 @@
-post_install() {
-	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-	post_install
-}
-
-post_remove() {
-	post_install
-}

Copied: kdegames-kajongg/repos/kde-unstable-any/kdegames-kajongg.install (from rev 265329, kdegames-kajongg/trunk/kdegames-kajongg.install)
===================================================================
--- kdegames-kajongg.install	                        (rev 0)
+++ kdegames-kajongg.install	2016-04-19 12:15:33 UTC (rev 265330)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list