Date: Wednesday, July 29, 2015 @ 09:42:44
  Author: arojas
Revision: 242697

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

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

--------------------------+
 PKGBUILD                 |   41 +++++++++++++++++++++++++++++++++++++++++
 kdegames-kajongg.install |   11 +++++++++++
 2 files changed, 52 insertions(+)

Copied: kdegames-kajongg/repos/kde-unstable-any/PKGBUILD (from rev 242696, 
kdegames-kajongg/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD                           (rev 0)
+++ kde-unstable-any/PKGBUILD   2015-07-29 07:42:44 UTC (rev 242697)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=kdegames-kajongg
+pkgver=15.07.80
+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=('9af4f381f75099282b6a24466a77f58de7dbf0e5')
+
+prepare() {
+  mkdir 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/kdegames-kajongg.install (from 
rev 242696, kdegames-kajongg/kde-unstable/kdegames-kajongg.install)
===================================================================
--- kde-unstable-any/kdegames-kajongg.install                           (rev 0)
+++ kde-unstable-any/kdegames-kajongg.install   2015-07-29 07:42:44 UTC (rev 
242697)
@@ -0,0 +1,11 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Reply via email to