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

Antonio Rojas arojas at archlinux.org
Tue Feb 16 08:28:54 UTC 2016


    Date: Tuesday, February 16, 2016 @ 09:28:53
  Author: arojas
Revision: 259470

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

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

-------------------------------------+
 testing-i686/PKGBUILD               |   39 ++++++++++++++++++++++++++++++++++
 testing-i686/knavalbattle.install   |   12 ++++++++++
 testing-x86_64/PKGBUILD             |   39 ++++++++++++++++++++++++++++++++++
 testing-x86_64/knavalbattle.install |   12 ++++++++++
 4 files changed, 102 insertions(+)

Copied: knavalbattle/repos/testing-i686/PKGBUILD (from rev 259469, knavalbattle/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-02-16 08:28:53 UTC (rev 259470)
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 251259 2015-11-19 20:20:39Z arojas $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=knavalbattle
+pkgver=15.12.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=(libkdegames hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+install=$pkgname.install
+conflicts=(kdegames-knavalbattle)
+replaces=(kdegames-knavalbattle)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('e963a3c6068bac26f4a56ec94591801a40681472')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: knavalbattle/repos/testing-i686/knavalbattle.install (from rev 259469, knavalbattle/trunk/knavalbattle.install)
===================================================================
--- testing-i686/knavalbattle.install	                        (rev 0)
+++ testing-i686/knavalbattle.install	2016-02-16 08:28:53 UTC (rev 259470)
@@ -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: knavalbattle/repos/testing-x86_64/PKGBUILD (from rev 259469, knavalbattle/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-02-16 08:28:53 UTC (rev 259470)
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 251259 2015-11-19 20:20:39Z arojas $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=knavalbattle
+pkgver=15.12.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=(libkdegames hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+install=$pkgname.install
+conflicts=(kdegames-knavalbattle)
+replaces=(kdegames-knavalbattle)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('e963a3c6068bac26f4a56ec94591801a40681472')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: knavalbattle/repos/testing-x86_64/knavalbattle.install (from rev 259469, knavalbattle/trunk/knavalbattle.install)
===================================================================
--- testing-x86_64/knavalbattle.install	                        (rev 0)
+++ testing-x86_64/knavalbattle.install	2016-02-16 08:28:53 UTC (rev 259470)
@@ -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