[arch-commits] Commit in kmines/repos (6 files)

Antonio Rojas arojas at archlinux.org
Fri Apr 10 19:23:46 UTC 2015


    Date: Friday, April 10, 2015 @ 21:23:46
  Author: arojas
Revision: 236148

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  kmines/repos/staging-i686/
  kmines/repos/staging-i686/PKGBUILD
    (from rev 236147, kmines/trunk/PKGBUILD)
  kmines/repos/staging-i686/kmines.install
    (from rev 236147, kmines/trunk/kmines.install)
  kmines/repos/staging-x86_64/
  kmines/repos/staging-x86_64/PKGBUILD
    (from rev 236147, kmines/trunk/PKGBUILD)
  kmines/repos/staging-x86_64/kmines.install
    (from rev 236147, kmines/trunk/kmines.install)

-------------------------------+
 staging-i686/PKGBUILD         |   35 +++++++++++++++++++++++++++++++++++
 staging-i686/kmines.install   |   11 +++++++++++
 staging-x86_64/PKGBUILD       |   35 +++++++++++++++++++++++++++++++++++
 staging-x86_64/kmines.install |   11 +++++++++++
 4 files changed, 92 insertions(+)

Copied: kmines/repos/staging-i686/PKGBUILD (from rev 236147, kmines/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 19:23:46 UTC (rev 236148)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmines
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="The classic Minesweeper game"
+url="http://kde.org/applications/games/kmines/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('libkdegames' 'knotifyconfig')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-kmines')
+replaces=('kdegames-kmines')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmines-${pkgver}.tar.xz")
+sha1sums=('86e74c65409fc6903de6d2da28b63328cc7290d7')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kmines-${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
+}

Copied: kmines/repos/staging-i686/kmines.install (from rev 236147, kmines/trunk/kmines.install)
===================================================================
--- staging-i686/kmines.install	                        (rev 0)
+++ staging-i686/kmines.install	2015-04-10 19:23:46 UTC (rev 236148)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kmines/repos/staging-x86_64/PKGBUILD (from rev 236147, kmines/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 19:23:46 UTC (rev 236148)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmines
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="The classic Minesweeper game"
+url="http://kde.org/applications/games/kmines/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('libkdegames' 'knotifyconfig')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-kmines')
+replaces=('kdegames-kmines')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmines-${pkgver}.tar.xz")
+sha1sums=('86e74c65409fc6903de6d2da28b63328cc7290d7')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kmines-${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
+}

Copied: kmines/repos/staging-x86_64/kmines.install (from rev 236147, kmines/trunk/kmines.install)
===================================================================
--- staging-x86_64/kmines.install	                        (rev 0)
+++ staging-x86_64/kmines.install	2015-04-10 19:23:46 UTC (rev 236148)
@@ -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