[arch-commits] Commit in kmines/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Thu Nov 19 21:03:23 UTC 2015
Date: Thursday, November 19, 2015 @ 22:03:23
Author: arojas
Revision: 251352
archrelease: copy kde-unstable to staging-i686, staging-x86_64
Added:
kmines/repos/staging-i686/
kmines/repos/staging-i686/PKGBUILD
(from rev 251351, kmines/kde-unstable/PKGBUILD)
kmines/repos/staging-i686/kmines.install
(from rev 251351, kmines/kde-unstable/kmines.install)
kmines/repos/staging-x86_64/
kmines/repos/staging-x86_64/PKGBUILD
(from rev 251351, kmines/kde-unstable/PKGBUILD)
kmines/repos/staging-x86_64/kmines.install
(from rev 251351, kmines/kde-unstable/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 251351, kmines/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-11-19 21:03:23 UTC (rev 251352)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmines
+pkgver=15.11.80
+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/unstable/applications/${pkgver}/src/kmines-${pkgver}.tar.xz")
+sha1sums=('ce67db1edbb98e3a79a114ef0ac6d76e5b79f481')
+
+build() {
+ mkdir -p 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 251351, kmines/kde-unstable/kmines.install)
===================================================================
--- staging-i686/kmines.install (rev 0)
+++ staging-i686/kmines.install 2015-11-19 21:03:23 UTC (rev 251352)
@@ -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 251351, kmines/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-11-19 21:03:23 UTC (rev 251352)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmines
+pkgver=15.11.80
+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/unstable/applications/${pkgver}/src/kmines-${pkgver}.tar.xz")
+sha1sums=('ce67db1edbb98e3a79a114ef0ac6d76e5b79f481')
+
+build() {
+ mkdir -p 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 251351, kmines/kde-unstable/kmines.install)
===================================================================
--- staging-x86_64/kmines.install (rev 0)
+++ staging-x86_64/kmines.install 2015-11-19 21:03:23 UTC (rev 251352)
@@ -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