[arch-commits] Commit in kmines/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Mon Sep 14 21:32:50 UTC 2015
Date: Monday, September 14, 2015 @ 23:32:50
Author: arojas
Revision: 246150
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kmines/repos/testing-i686/
kmines/repos/testing-i686/PKGBUILD
(from rev 246149, kmines/trunk/PKGBUILD)
kmines/repos/testing-i686/kmines.install
(from rev 246149, kmines/trunk/kmines.install)
kmines/repos/testing-x86_64/
kmines/repos/testing-x86_64/PKGBUILD
(from rev 246149, kmines/trunk/PKGBUILD)
kmines/repos/testing-x86_64/kmines.install
(from rev 246149, kmines/trunk/kmines.install)
-------------------------------+
testing-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
testing-i686/kmines.install | 11 +++++++++++
testing-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
testing-x86_64/kmines.install | 11 +++++++++++
4 files changed, 92 insertions(+)
Copied: kmines/repos/testing-i686/PKGBUILD (from rev 246149, kmines/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-09-14 21:32:50 UTC (rev 246150)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmines
+pkgver=15.08.1
+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=('d9f6ca5b8d2979ae19d341a053900555ff598fec')
+
+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/testing-i686/kmines.install (from rev 246149, kmines/trunk/kmines.install)
===================================================================
--- testing-i686/kmines.install (rev 0)
+++ testing-i686/kmines.install 2015-09-14 21:32:50 UTC (rev 246150)
@@ -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/testing-x86_64/PKGBUILD (from rev 246149, kmines/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-09-14 21:32:50 UTC (rev 246150)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmines
+pkgver=15.08.1
+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=('d9f6ca5b8d2979ae19d341a053900555ff598fec')
+
+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/testing-x86_64/kmines.install (from rev 246149, kmines/trunk/kmines.install)
===================================================================
--- testing-x86_64/kmines.install (rev 0)
+++ testing-x86_64/kmines.install 2015-09-14 21:32:50 UTC (rev 246150)
@@ -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