[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Tue Jul 28 18:47:39 UTC 2015


    Date: Tuesday, July 28, 2015 @ 20:47:39
  Author: arojas
Revision: 242605

Add KF5 version of picmi

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

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

Added: picmi/kde-unstable/PKGBUILD
===================================================================
--- picmi/kde-unstable/PKGBUILD	                        (rev 0)
+++ picmi/kde-unstable/PKGBUILD	2015-07-28 18:47:39 UTC (rev 242605)
@@ -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=picmi
+pkgver=15.07.80
+pkgrel=1
+pkgdesc="A nonogram logic game for KDE"
+url="http://kde.org/applications/games/picmi/"
+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-picmi)
+replaces=(kdegames-picmi)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('cb1cbb54e07711dd9ab35660475defdee3564636')
+
+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: picmi/kde-unstable/picmi.install
===================================================================
--- picmi/kde-unstable/picmi.install	                        (rev 0)
+++ picmi/kde-unstable/picmi.install	2015-07-28 18:47:39 UTC (rev 242605)
@@ -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