[arch-commits] Commit in kdegames-knavalbattle/repos (6 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Jul 25 15:01:10 UTC 2014
Date: Friday, July 25, 2014 @ 17:01:10
Author: svenstaro
Revision: 218014
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kdegames-knavalbattle/repos/kde-unstable-i686/
kdegames-knavalbattle/repos/kde-unstable-i686/PKGBUILD
(from rev 218013, kdegames-knavalbattle/kde-unstable/PKGBUILD)
kdegames-knavalbattle/repos/kde-unstable-i686/kdegames-knavalbattle.install
(from rev 218013, kdegames-knavalbattle/kde-unstable/kdegames-knavalbattle.install)
kdegames-knavalbattle/repos/kde-unstable-x86_64/
kdegames-knavalbattle/repos/kde-unstable-x86_64/PKGBUILD
(from rev 218013, kdegames-knavalbattle/kde-unstable/PKGBUILD)
kdegames-knavalbattle/repos/kde-unstable-x86_64/kdegames-knavalbattle.install
(from rev 218013, kdegames-knavalbattle/kde-unstable/kdegames-knavalbattle.install)
---------------------------------------------------+
kde-unstable-i686/PKGBUILD | 31 ++++++++++++++++++++
kde-unstable-i686/kdegames-knavalbattle.install | 12 +++++++
kde-unstable-x86_64/PKGBUILD | 31 ++++++++++++++++++++
kde-unstable-x86_64/kdegames-knavalbattle.install | 12 +++++++
4 files changed, 86 insertions(+)
Copied: kdegames-knavalbattle/repos/kde-unstable-i686/PKGBUILD (from rev 218013, kdegames-knavalbattle/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2014-07-25 15:01:10 UTC (rev 218014)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-knavalbattle
+pkgver=4.13.95
+pkgrel=1
+pkgdesc="A ship sinking game"
+url="http://kde.org/applications/games/knavalbattle/"
+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/knavalbattle-${pkgver}.tar.xz")
+sha1sums=('e8e24aff3c29dff5ccdc8d4eeaf4d476a216c31c')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../knavalbattle-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-knavalbattle/repos/kde-unstable-i686/kdegames-knavalbattle.install (from rev 218013, kdegames-knavalbattle/kde-unstable/kdegames-knavalbattle.install)
===================================================================
--- kde-unstable-i686/kdegames-knavalbattle.install (rev 0)
+++ kde-unstable-i686/kdegames-knavalbattle.install 2014-07-25 15:01:10 UTC (rev 218014)
@@ -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-knavalbattle/repos/kde-unstable-x86_64/PKGBUILD (from rev 218013, kdegames-knavalbattle/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2014-07-25 15:01:10 UTC (rev 218014)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-knavalbattle
+pkgver=4.13.95
+pkgrel=1
+pkgdesc="A ship sinking game"
+url="http://kde.org/applications/games/knavalbattle/"
+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/knavalbattle-${pkgver}.tar.xz")
+sha1sums=('e8e24aff3c29dff5ccdc8d4eeaf4d476a216c31c')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../knavalbattle-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-knavalbattle/repos/kde-unstable-x86_64/kdegames-knavalbattle.install (from rev 218013, kdegames-knavalbattle/kde-unstable/kdegames-knavalbattle.install)
===================================================================
--- kde-unstable-x86_64/kdegames-knavalbattle.install (rev 0)
+++ kde-unstable-x86_64/kdegames-knavalbattle.install 2014-07-25 15:01:10 UTC (rev 218014)
@@ -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