[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Thu Nov 19 22:18:05 UTC 2015


    Date: Thursday, November 19, 2015 @ 23:18:05
  Author: arojas
Revision: 251455

Add KF5 version of klickety

Added:
  klickety/
  klickety/kde-unstable/
  klickety/kde-unstable/PKGBUILD
  klickety/kde-unstable/klickety.install

------------------+
 PKGBUILD         |   39 +++++++++++++++++++++++++++++++++++++++
 klickety.install |   11 +++++++++++
 2 files changed, 50 insertions(+)

Added: klickety/kde-unstable/PKGBUILD
===================================================================
--- klickety/kde-unstable/PKGBUILD	                        (rev 0)
+++ klickety/kde-unstable/PKGBUILD	2015-11-19 22:18:05 UTC (rev 251455)
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 251259 2015-11-19 20:20:39Z arojas $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=klickety
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="An adaptation of the Clickomania game"
+url="http://kde.org/applications/games/klickety/"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdegames)
+depends=(libkdegames knotifyconfig)
+makedepends=(extra-cmake-modules kdoctools)
+install=$pkgname.install
+conflicts=(kdegames-klickety)
+replaces=(kdegames-klickety)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('33fdef45b1f3f7fa063bd260168192c9d14b5b87')
+
+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: klickety/kde-unstable/klickety.install
===================================================================
--- klickety/kde-unstable/klickety.install	                        (rev 0)
+++ klickety/kde-unstable/klickety.install	2015-11-19 22:18:05 UTC (rev 251455)
@@ -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