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

Antonio Rojas arojas at archlinux.org
Mon Sep 14 21:33:07 UTC 2015


    Date: Monday, September 14, 2015 @ 23:33:07
  Author: arojas
Revision: 246151

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

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

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

Copied: kdegames-knavalbattle/repos/testing-i686/PKGBUILD (from rev 246150, kdegames-knavalbattle/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-14 21:33:07 UTC (rev 246151)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-knavalbattle
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="A ship sinking game"
+url="http://kde.org/applications/games/knavalbattle/"
+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/knavalbattle-${pkgver}.tar.xz")
+sha1sums=('9cb9620b2fb6aa62f002f9defa199c292523a07a')
+
+build() {
+  mkdir -p 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 246150, kdegames-knavalbattle/trunk/kdegames-knavalbattle.install)
===================================================================
--- testing-i686/kdegames-knavalbattle.install	                        (rev 0)
+++ testing-i686/kdegames-knavalbattle.install	2015-09-14 21:33:07 UTC (rev 246151)
@@ -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 246150, kdegames-knavalbattle/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-14 21:33:07 UTC (rev 246151)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-knavalbattle
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="A ship sinking game"
+url="http://kde.org/applications/games/knavalbattle/"
+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/knavalbattle-${pkgver}.tar.xz")
+sha1sums=('9cb9620b2fb6aa62f002f9defa199c292523a07a')
+
+build() {
+  mkdir -p 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 246150, kdegames-knavalbattle/trunk/kdegames-knavalbattle.install)
===================================================================
--- testing-x86_64/kdegames-knavalbattle.install	                        (rev 0)
+++ testing-x86_64/kdegames-knavalbattle.install	2015-09-14 21:33:07 UTC (rev 246151)
@@ -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