[arch-commits] Commit in kdegames-kreversi/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Nov 19 18:26:20 UTC 2014
Date: Wednesday, November 19, 2014 @ 19:26:20
Author: fyan
Revision: 226591
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegames-kreversi/repos/testing-i686/
kdegames-kreversi/repos/testing-i686/PKGBUILD
(from rev 226590, kdegames-kreversi/trunk/PKGBUILD)
kdegames-kreversi/repos/testing-i686/kdegames-kreversi.install
(from rev 226590, kdegames-kreversi/trunk/kdegames-kreversi.install)
kdegames-kreversi/repos/testing-x86_64/
kdegames-kreversi/repos/testing-x86_64/PKGBUILD
(from rev 226590, kdegames-kreversi/trunk/PKGBUILD)
kdegames-kreversi/repos/testing-x86_64/kdegames-kreversi.install
(from rev 226590, kdegames-kreversi/trunk/kdegames-kreversi.install)
------------------------------------------+
testing-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++
testing-i686/kdegames-kreversi.install | 11 ++++++++++
testing-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++
testing-x86_64/kdegames-kreversi.install | 11 ++++++++++
4 files changed, 84 insertions(+)
Copied: kdegames-kreversi/repos/testing-i686/PKGBUILD (from rev 226590, kdegames-kreversi/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-11-19 18:26:20 UTC (rev 226591)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kreversi
+pkgver=4.14.3
+pkgrel=1
+pkgdesc="A simple one player strategy game played against the computer"
+url="http://kde.org/applications/games/kreversi/"
+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/${pkgver}/src/kreversi-${pkgver}.tar.xz")
+sha1sums=('c0756470ddb33aa5a7ff8466bcf7defd534656a3')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kreversi-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kreversi/repos/testing-i686/kdegames-kreversi.install (from rev 226590, kdegames-kreversi/trunk/kdegames-kreversi.install)
===================================================================
--- testing-i686/kdegames-kreversi.install (rev 0)
+++ testing-i686/kdegames-kreversi.install 2014-11-19 18:26:20 UTC (rev 226591)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdegames-kreversi/repos/testing-x86_64/PKGBUILD (from rev 226590, kdegames-kreversi/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-11-19 18:26:20 UTC (rev 226591)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kreversi
+pkgver=4.14.3
+pkgrel=1
+pkgdesc="A simple one player strategy game played against the computer"
+url="http://kde.org/applications/games/kreversi/"
+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/${pkgver}/src/kreversi-${pkgver}.tar.xz")
+sha1sums=('c0756470ddb33aa5a7ff8466bcf7defd534656a3')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kreversi-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kreversi/repos/testing-x86_64/kdegames-kreversi.install (from rev 226590, kdegames-kreversi/trunk/kdegames-kreversi.install)
===================================================================
--- testing-x86_64/kdegames-kreversi.install (rev 0)
+++ testing-x86_64/kdegames-kreversi.install 2014-11-19 18:26:20 UTC (rev 226591)
@@ -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