[arch-commits] Commit in (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Jul 28 18:43:22 UTC 2015
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 <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+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
+}
More information about the arch-commits
mailing list