[arch-commits] Commit in kdegames-knavalbattle/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 14 10:22:58 UTC 2015
Date: Saturday, March 14, 2015 @ 11:22:58
Author: arojas
Revision: 233696
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 233695, kdegames-knavalbattle/kde-unstable/PKGBUILD)
kdegames-knavalbattle/repos/kde-unstable-i686/kdegames-knavalbattle.install
(from rev 233695, kdegames-knavalbattle/kde-unstable/kdegames-knavalbattle.install)
kdegames-knavalbattle/repos/kde-unstable-x86_64/
kdegames-knavalbattle/repos/kde-unstable-x86_64/PKGBUILD
(from rev 233695, kdegames-knavalbattle/kde-unstable/PKGBUILD)
kdegames-knavalbattle/repos/kde-unstable-x86_64/kdegames-knavalbattle.install
(from rev 233695, kdegames-knavalbattle/kde-unstable/kdegames-knavalbattle.install)
---------------------------------------------------+
kde-unstable-i686/PKGBUILD | 32 ++++++++++++++++++++
kde-unstable-i686/kdegames-knavalbattle.install | 12 +++++++
kde-unstable-x86_64/PKGBUILD | 32 ++++++++++++++++++++
kde-unstable-x86_64/kdegames-knavalbattle.install | 12 +++++++
4 files changed, 88 insertions(+)
Copied: kdegames-knavalbattle/repos/kde-unstable-i686/PKGBUILD (from rev 233695, kdegames-knavalbattle/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2015-03-14 10:22:58 UTC (rev 233696)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-knavalbattle
+pkgver=15.03.90
+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' 'libkdegames4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/knavalbattle-${pkgver}.tar.xz")
+sha1sums=('ef316ffb7a850fb1ca81674436bff55047087026')
+
+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 233695, kdegames-knavalbattle/kde-unstable/kdegames-knavalbattle.install)
===================================================================
--- kde-unstable-i686/kdegames-knavalbattle.install (rev 0)
+++ kde-unstable-i686/kdegames-knavalbattle.install 2015-03-14 10:22:58 UTC (rev 233696)
@@ -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 233695, kdegames-knavalbattle/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2015-03-14 10:22:58 UTC (rev 233696)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-knavalbattle
+pkgver=15.03.90
+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' 'libkdegames4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/knavalbattle-${pkgver}.tar.xz")
+sha1sums=('ef316ffb7a850fb1ca81674436bff55047087026')
+
+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 233695, kdegames-knavalbattle/kde-unstable/kdegames-knavalbattle.install)
===================================================================
--- kde-unstable-x86_64/kdegames-knavalbattle.install (rev 0)
+++ kde-unstable-x86_64/kdegames-knavalbattle.install 2015-03-14 10:22:58 UTC (rev 233696)
@@ -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