Date: Tuesday, July 28, 2015 @ 20:43:21 Author: arojas Revision: 242603
Add KF5 version of kiriki Added: kiriki/ kiriki/kde-unstable/ kiriki/kde-unstable/PKGBUILD kiriki/kde-unstable/kiriki.install ----------------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ kiriki.install | 11 +++++++++++ 2 files changed, 50 insertions(+) Added: kiriki/kde-unstable/PKGBUILD =================================================================== --- kiriki/kde-unstable/PKGBUILD (rev 0) +++ kiriki/kde-unstable/PKGBUILD 2015-07-28 18:43:21 UTC (rev 242603) @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 241398 2015-06-29 17:50:28Z arojas $ +# Maintainer: Antonio Rojas <[email protected]> +# Maintainer: Felix Yan <[email protected]> +# Contributor: Andrea Scarpino <[email protected]> + +pkgname=kiriki +pkgver=15.07.80 +pkgrel=1 +pkgdesc="An addictive and fun dice game" +url="http://kde.org/applications/games/kiriki/" +arch=(i686 x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdegames) +depends=(libkdegames hicolor-icon-theme) +makedepends=(extra-cmake-modules kdoctools) +install=$pkgname.install +conflicts=(kdegames-kiriki) +replaces=(kdegames-kiriki) +source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz") +sha1sums=('0d90664bb7f66af8cc38fb8c3f7e72496553fe9a') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Added: kiriki/kde-unstable/kiriki.install =================================================================== --- kiriki/kde-unstable/kiriki.install (rev 0) +++ kiriki/kde-unstable/kiriki.install 2015-07-28 18:43:21 UTC (rev 242603) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
