[arch-commits] Commit in kdiamond (7 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 14 10:19:38 UTC 2015
Date: Saturday, March 14, 2015 @ 11:19:38
Author: arojas
Revision: 233685
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kdiamond/repos/
kdiamond/repos/kde-unstable-i686/
kdiamond/repos/kde-unstable-i686/PKGBUILD
(from rev 233684, kdiamond/kde-unstable/PKGBUILD)
kdiamond/repos/kde-unstable-i686/kdiamond.install
(from rev 233684, kdiamond/kde-unstable/kdiamond.install)
kdiamond/repos/kde-unstable-x86_64/
kdiamond/repos/kde-unstable-x86_64/PKGBUILD
(from rev 233684, kdiamond/kde-unstable/PKGBUILD)
kdiamond/repos/kde-unstable-x86_64/kdiamond.install
(from rev 233684, kdiamond/kde-unstable/kdiamond.install)
--------------------------------------+
kde-unstable-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++
kde-unstable-i686/kdiamond.install | 11 ++++++++++
kde-unstable-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++
kde-unstable-x86_64/kdiamond.install | 11 ++++++++++
4 files changed, 92 insertions(+)
Copied: kdiamond/repos/kde-unstable-i686/PKGBUILD (from rev 233684, kdiamond/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-i686/PKGBUILD (rev 0)
+++ repos/kde-unstable-i686/PKGBUILD 2015-03-14 10:19:38 UTC (rev 233685)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdiamond
+pkgver=15.03.90
+pkgrel=1
+pkgdesc="A single player puzzle game"
+url="http://kde.org/applications/games/kdiamond/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('libkdegames' 'knotifyconfig')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-kdiamond')
+replaces=('kdegames-kdiamond')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kdiamond-${pkgver}.tar.xz")
+sha1sums=('7bee6464360591c6692413ab6b806c7730886875')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kdiamond-${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: kdiamond/repos/kde-unstable-i686/kdiamond.install (from rev 233684, kdiamond/kde-unstable/kdiamond.install)
===================================================================
--- repos/kde-unstable-i686/kdiamond.install (rev 0)
+++ repos/kde-unstable-i686/kdiamond.install 2015-03-14 10:19:38 UTC (rev 233685)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdiamond/repos/kde-unstable-x86_64/PKGBUILD (from rev 233684, kdiamond/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD 2015-03-14 10:19:38 UTC (rev 233685)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdiamond
+pkgver=15.03.90
+pkgrel=1
+pkgdesc="A single player puzzle game"
+url="http://kde.org/applications/games/kdiamond/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('libkdegames' 'knotifyconfig')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-kdiamond')
+replaces=('kdegames-kdiamond')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kdiamond-${pkgver}.tar.xz")
+sha1sums=('7bee6464360591c6692413ab6b806c7730886875')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kdiamond-${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: kdiamond/repos/kde-unstable-x86_64/kdiamond.install (from rev 233684, kdiamond/kde-unstable/kdiamond.install)
===================================================================
--- repos/kde-unstable-x86_64/kdiamond.install (rev 0)
+++ repos/kde-unstable-x86_64/kdiamond.install 2015-03-14 10:19:38 UTC (rev 233685)
@@ -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