[arch-commits] Commit in kdegames-kdiamond/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Feb 4 07:02:27 UTC 2015
Date: Wednesday, February 4, 2015 @ 08:02:27
Author: fyan
Revision: 230550
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegames-kdiamond/repos/testing-i686/
kdegames-kdiamond/repos/testing-i686/PKGBUILD
(from rev 230549, kdegames-kdiamond/trunk/PKGBUILD)
kdegames-kdiamond/repos/testing-i686/kdegames-kdiamond.install
(from rev 230549, kdegames-kdiamond/trunk/kdegames-kdiamond.install)
kdegames-kdiamond/repos/testing-x86_64/
kdegames-kdiamond/repos/testing-x86_64/PKGBUILD
(from rev 230549, kdegames-kdiamond/trunk/PKGBUILD)
kdegames-kdiamond/repos/testing-x86_64/kdegames-kdiamond.install
(from rev 230549, kdegames-kdiamond/trunk/kdegames-kdiamond.install)
------------------------------------------+
testing-i686/PKGBUILD | 32 +++++++++++++++++++++++++++++
testing-i686/kdegames-kdiamond.install | 11 +++++++++
testing-x86_64/PKGBUILD | 32 +++++++++++++++++++++++++++++
testing-x86_64/kdegames-kdiamond.install | 11 +++++++++
4 files changed, 86 insertions(+)
Copied: kdegames-kdiamond/repos/testing-i686/PKGBUILD (from rev 230549, kdegames-kdiamond/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-04 07:02:27 UTC (rev 230550)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kdiamond
+pkgver=14.12.2
+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=('kdebase-runtime' 'libkdegames')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kdiamond-${pkgver}.tar.xz")
+sha1sums=('bd20198724eab76946aa8530851de5c5d52c12c7')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kdiamond-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kdiamond/repos/testing-i686/kdegames-kdiamond.install (from rev 230549, kdegames-kdiamond/trunk/kdegames-kdiamond.install)
===================================================================
--- testing-i686/kdegames-kdiamond.install (rev 0)
+++ testing-i686/kdegames-kdiamond.install 2015-02-04 07:02:27 UTC (rev 230550)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdegames-kdiamond/repos/testing-x86_64/PKGBUILD (from rev 230549, kdegames-kdiamond/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-04 07:02:27 UTC (rev 230550)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kdiamond
+pkgver=14.12.2
+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=('kdebase-runtime' 'libkdegames')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kdiamond-${pkgver}.tar.xz")
+sha1sums=('bd20198724eab76946aa8530851de5c5d52c12c7')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kdiamond-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kdiamond/repos/testing-x86_64/kdegames-kdiamond.install (from rev 230549, kdegames-kdiamond/trunk/kdegames-kdiamond.install)
===================================================================
--- testing-x86_64/kdegames-kdiamond.install (rev 0)
+++ testing-x86_64/kdegames-kdiamond.install 2015-02-04 07:02:27 UTC (rev 230550)
@@ -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