[arch-commits] Commit in kdegames-kspaceduel/repos (6 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Thu Jun 13 19:03:22 UTC 2013
Date: Thursday, June 13, 2013 @ 21:03:22
Author: andrea
Revision: 188353
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kdegames-kspaceduel/repos/kde-unstable-i686/
kdegames-kspaceduel/repos/kde-unstable-i686/PKGBUILD
(from rev 188352, kdegames-kspaceduel/kde-unstable/PKGBUILD)
kdegames-kspaceduel/repos/kde-unstable-i686/kdegames-kspaceduel.install
(from rev 188352, kdegames-kspaceduel/kde-unstable/kdegames-kspaceduel.install)
kdegames-kspaceduel/repos/kde-unstable-x86_64/
kdegames-kspaceduel/repos/kde-unstable-x86_64/PKGBUILD
(from rev 188352, kdegames-kspaceduel/kde-unstable/PKGBUILD)
kdegames-kspaceduel/repos/kde-unstable-x86_64/kdegames-kspaceduel.install
(from rev 188352, kdegames-kspaceduel/kde-unstable/kdegames-kspaceduel.install)
-------------------------------------------------+
kde-unstable-i686/PKGBUILD | 31 ++++++++++++++++++++++
kde-unstable-i686/kdegames-kspaceduel.install | 12 ++++++++
kde-unstable-x86_64/PKGBUILD | 31 ++++++++++++++++++++++
kde-unstable-x86_64/kdegames-kspaceduel.install | 12 ++++++++
4 files changed, 86 insertions(+)
Copied: kdegames-kspaceduel/repos/kde-unstable-i686/PKGBUILD (from rev 188352, kdegames-kspaceduel/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2013-06-13 19:03:22 UTC (rev 188353)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kspaceduel
+pkgver=4.10.80
+pkgrel=1
+pkgdesc="Each of two possible players controls a satellite spaceship orbiting the sun"
+url="http://kde.org/applications/games/kspaceduel/"
+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/unstable/${pkgver}/src/kspaceduel-${pkgver}.tar.xz")
+sha1sums=('498b4814df587f305781e89aa1de1434412c16ac')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kspaceduel-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kspaceduel/repos/kde-unstable-i686/kdegames-kspaceduel.install (from rev 188352, kdegames-kspaceduel/kde-unstable/kdegames-kspaceduel.install)
===================================================================
--- kde-unstable-i686/kdegames-kspaceduel.install (rev 0)
+++ kde-unstable-i686/kdegames-kspaceduel.install 2013-06-13 19:03:22 UTC (rev 188353)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdegames-kspaceduel/repos/kde-unstable-x86_64/PKGBUILD (from rev 188352, kdegames-kspaceduel/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2013-06-13 19:03:22 UTC (rev 188353)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kspaceduel
+pkgver=4.10.80
+pkgrel=1
+pkgdesc="Each of two possible players controls a satellite spaceship orbiting the sun"
+url="http://kde.org/applications/games/kspaceduel/"
+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/unstable/${pkgver}/src/kspaceduel-${pkgver}.tar.xz")
+sha1sums=('498b4814df587f305781e89aa1de1434412c16ac')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kspaceduel-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kspaceduel/repos/kde-unstable-x86_64/kdegames-kspaceduel.install (from rev 188352, kdegames-kspaceduel/kde-unstable/kdegames-kspaceduel.install)
===================================================================
--- kde-unstable-x86_64/kdegames-kspaceduel.install (rev 0)
+++ kde-unstable-x86_64/kdegames-kspaceduel.install 2013-06-13 19:03:22 UTC (rev 188353)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list