[arch-commits] Commit in kdegames-kspaceduel/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Tue Feb 16 08:32:05 UTC 2016
Date: Tuesday, February 16, 2016 @ 09:32:05
Author: arojas
Revision: 259480
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegames-kspaceduel/repos/testing-i686/
kdegames-kspaceduel/repos/testing-i686/PKGBUILD
(from rev 259479, kdegames-kspaceduel/trunk/PKGBUILD)
kdegames-kspaceduel/repos/testing-i686/kdegames-kspaceduel.install
(from rev 259479, kdegames-kspaceduel/trunk/kdegames-kspaceduel.install)
kdegames-kspaceduel/repos/testing-x86_64/
kdegames-kspaceduel/repos/testing-x86_64/PKGBUILD
(from rev 259479, kdegames-kspaceduel/trunk/PKGBUILD)
kdegames-kspaceduel/repos/testing-x86_64/kdegames-kspaceduel.install
(from rev 259479, kdegames-kspaceduel/trunk/kdegames-kspaceduel.install)
--------------------------------------------+
testing-i686/PKGBUILD | 32 +++++++++++++++++++++++++++
testing-i686/kdegames-kspaceduel.install | 12 ++++++++++
testing-x86_64/PKGBUILD | 32 +++++++++++++++++++++++++++
testing-x86_64/kdegames-kspaceduel.install | 12 ++++++++++
4 files changed, 88 insertions(+)
Copied: kdegames-kspaceduel/repos/testing-i686/PKGBUILD (from rev 259479, kdegames-kspaceduel/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-02-16 08:32:05 UTC (rev 259480)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kspaceduel
+pkgver=15.12.2
+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-applications' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kspaceduel-${pkgver}.tar.xz")
+sha1sums=('bc5fd26a9c52f39f0efd6820573f310657608c0e')
+
+build() {
+ mkdir -p 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/testing-i686/kdegames-kspaceduel.install (from rev 259479, kdegames-kspaceduel/trunk/kdegames-kspaceduel.install)
===================================================================
--- testing-i686/kdegames-kspaceduel.install (rev 0)
+++ testing-i686/kdegames-kspaceduel.install 2016-02-16 08:32:05 UTC (rev 259480)
@@ -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/testing-x86_64/PKGBUILD (from rev 259479, kdegames-kspaceduel/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-02-16 08:32:05 UTC (rev 259480)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kspaceduel
+pkgver=15.12.2
+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-applications' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kspaceduel-${pkgver}.tar.xz")
+sha1sums=('bc5fd26a9c52f39f0efd6820573f310657608c0e')
+
+build() {
+ mkdir -p 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/testing-x86_64/kdegames-kspaceduel.install (from rev 259479, kdegames-kspaceduel/trunk/kdegames-kspaceduel.install)
===================================================================
--- testing-x86_64/kdegames-kspaceduel.install (rev 0)
+++ testing-x86_64/kdegames-kspaceduel.install 2016-02-16 08:32:05 UTC (rev 259480)
@@ -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