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

Antonio Rojas arojas at archlinux.org
Thu Oct 13 16:25:03 UTC 2016


    Date: Thursday, October 13, 2016 @ 16:25:00
  Author: arojas
Revision: 278793

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 44 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-13 16:24:18 UTC (rev 278792)
+++ PKGBUILD	2016-10-13 16:25:00 UTC (rev 278793)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdegames-kajongg
-pkgver=16.08.2
-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' 'python-twisted' 'kdebindings-python' 'libkmahjongg')
-makedepends=('cmake' 'automoc4')
-optdepends=('vorbis-tools: for playing sounds')
-conflicts=('libkmahjongg4')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kajongg-${pkgver}.tar.xz")
-sha1sums=('e6eeaecfb642edfcd87e6950908bc87294732dde')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../kajongg-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DKDE4_BUILD_TESTS=OFF \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -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
-}

Copied: kdegames-kajongg/repos/extra-any/PKGBUILD (from rev 278792, kdegames-kajongg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-13 16:25:00 UTC (rev 278793)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kajongg
+pkgver=16.08.2
+pkgrel=2
+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')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kajongg-${pkgver}.tar.xz")
+sha1sums=('e6eeaecfb642edfcd87e6950908bc87294732dde')
+
+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 \
+    -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
+}



More information about the arch-commits mailing list