[arch-commits] Commit in kdegames-knavalbattle/repos (6 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Mar 5 10:19:24 UTC 2014


    Date: Wednesday, March 5, 2014 @ 11:19:23
  Author: andrea
Revision: 206795

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  kdegames-knavalbattle/repos/testing-i686/
  kdegames-knavalbattle/repos/testing-i686/PKGBUILD
    (from rev 206794, kdegames-knavalbattle/trunk/PKGBUILD)
  kdegames-knavalbattle/repos/testing-i686/kdegames-knavalbattle.install
    (from rev 206794, kdegames-knavalbattle/trunk/kdegames-knavalbattle.install)
  kdegames-knavalbattle/repos/testing-x86_64/
  kdegames-knavalbattle/repos/testing-x86_64/PKGBUILD
    (from rev 206794, kdegames-knavalbattle/trunk/PKGBUILD)
  kdegames-knavalbattle/repos/testing-x86_64/kdegames-knavalbattle.install
    (from rev 206794, kdegames-knavalbattle/trunk/kdegames-knavalbattle.install)

----------------------------------------------+
 testing-i686/PKGBUILD                        |   31 +++++++++++++++++++++++++
 testing-i686/kdegames-knavalbattle.install   |   12 +++++++++
 testing-x86_64/PKGBUILD                      |   31 +++++++++++++++++++++++++
 testing-x86_64/kdegames-knavalbattle.install |   12 +++++++++
 4 files changed, 86 insertions(+)

Copied: kdegames-knavalbattle/repos/testing-i686/PKGBUILD (from rev 206794, kdegames-knavalbattle/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-03-05 10:19:23 UTC (rev 206795)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-knavalbattle
+pkgver=4.12.3
+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/stable/${pkgver}/src/knavalbattle-${pkgver}.tar.xz")
+sha1sums=('e5125e740ca42ad54bcdfc25eb390d4c613de146')
+
+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/testing-i686/kdegames-knavalbattle.install (from rev 206794, kdegames-knavalbattle/trunk/kdegames-knavalbattle.install)
===================================================================
--- testing-i686/kdegames-knavalbattle.install	                        (rev 0)
+++ testing-i686/kdegames-knavalbattle.install	2014-03-05 10:19:23 UTC (rev 206795)
@@ -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/testing-x86_64/PKGBUILD (from rev 206794, kdegames-knavalbattle/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-03-05 10:19:23 UTC (rev 206795)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-knavalbattle
+pkgver=4.12.3
+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/stable/${pkgver}/src/knavalbattle-${pkgver}.tar.xz")
+sha1sums=('e5125e740ca42ad54bcdfc25eb390d4c613de146')
+
+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/testing-x86_64/kdegames-knavalbattle.install (from rev 206794, kdegames-knavalbattle/trunk/kdegames-knavalbattle.install)
===================================================================
--- testing-x86_64/kdegames-knavalbattle.install	                        (rev 0)
+++ testing-x86_64/kdegames-knavalbattle.install	2014-03-05 10:19:23 UTC (rev 206795)
@@ -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