Date: Saturday, March 8, 2014 @ 09:41:40 Author: andrea Revision: 207236
archrelease: copy kde-unstable to kde-unstable-any Added: kdegames-kajongg/repos/kde-unstable-any/PKGBUILD (from rev 207235, kdegames-kajongg/kde-unstable/PKGBUILD) kdegames-kajongg/repos/kde-unstable-any/kdegames-kajongg.install (from rev 207235, kdegames-kajongg/kde-unstable/kdegames-kajongg.install) Deleted: kdegames-kajongg/repos/kde-unstable-any/PKGBUILD kdegames-kajongg/repos/kde-unstable-any/kdegames-kajongg.install --------------------------+ PKGBUILD | 74 +++++++++++++++++++++++---------------------- kdegames-kajongg.install | 22 ++++++------- 2 files changed, 49 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-03-08 08:41:34 UTC (rev 207235) +++ PKGBUILD 2014-03-08 08:41:40 UTC (rev 207236) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Andrea Scarpino <and...@archlinux.org> - -pkgname=kdegames-kajongg -pkgver=4.11.97 -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' 'kdegames') -depends=('kdebase-runtime' 'twisted' 'kdebindings-python2') -makedepends=('cmake' 'automoc4') -install=${pkgname}.install -source=("http://download.kde.org/unstable/${pkgver}/src/kajongg-${pkgver}.tar.xz") -sha1sums=('2b2d8e4bc49bae4816eb39ac97a35d8aea359bd8') - -build() { - mkdir build - cd build - cmake ../kajongg-${pkgver} \ - -DCMAKE_BUILD_TYPE=Release \ - -DKDE4_BUILD_TESTS=OFF \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DPYTHON_EXECUTABLE=/usr/bin/python2 - make -} - -package() { - cd build - make DESTDIR="${pkgdir}" install - - # Fix the python shebang - sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ - "${pkgdir}"/usr/share/apps/kajongg/{deferredutil,kajongg,kajonggserver,server}.py -} Copied: kdegames-kajongg/repos/kde-unstable-any/PKGBUILD (from rev 207235, kdegames-kajongg/kde-unstable/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-03-08 08:41:40 UTC (rev 207236) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdegames-kajongg +pkgver=4.12.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' 'kdegames') +depends=('kdebase-runtime' 'twisted' 'kdebindings-python2' 'libkmahjongg') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/unstable/${pkgver}/src/kajongg-${pkgver}.tar.xz") +sha1sums=('e1b328ffe4f4483d647cad3081b460415b83e926') + +prepare() { + mkdir build + + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ + kajongg-${pkgver}/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 + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} Deleted: kdegames-kajongg.install =================================================================== --- kdegames-kajongg.install 2014-03-08 08:41:34 UTC (rev 207235) +++ kdegames-kajongg.install 2014-03-08 08:41:40 UTC (rev 207236) @@ -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 207235, kdegames-kajongg/kde-unstable/kdegames-kajongg.install) =================================================================== --- kdegames-kajongg.install (rev 0) +++ kdegames-kajongg.install 2014-03-08 08:41:40 UTC (rev 207236) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}