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

Antonio Rojas arojas at archlinux.org
Sat Apr 11 06:58:20 UTC 2015


    Date: Saturday, April 11, 2015 @ 08:58:19
  Author: arojas
Revision: 131150

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  knights/repos/community-staging-i686/
  knights/repos/community-staging-i686/PKGBUILD
    (from rev 131149, knights/trunk/PKGBUILD)
  knights/repos/community-staging-i686/knights.install
    (from rev 131149, knights/trunk/knights.install)
  knights/repos/community-staging-x86_64/
  knights/repos/community-staging-x86_64/PKGBUILD
    (from rev 131149, knights/trunk/PKGBUILD)
  knights/repos/community-staging-x86_64/knights.install
    (from rev 131149, knights/trunk/knights.install)

------------------------------------------+
 community-staging-i686/PKGBUILD          |   33 +++++++++++++++++++++++++++++
 community-staging-i686/knights.install   |   11 +++++++++
 community-staging-x86_64/PKGBUILD        |   33 +++++++++++++++++++++++++++++
 community-staging-x86_64/knights.install |   11 +++++++++
 4 files changed, 88 insertions(+)

Copied: knights/repos/community-staging-i686/PKGBUILD (from rev 131149, knights/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-04-11 06:58:19 UTC (rev 131150)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=knights
+pkgver=2.5.0
+pkgrel=3
+pkgdesc="Chess board for KDE with XBoard protocol support"
+arch=('i686' 'x86_64')
+url="http://kde-apps.org/content/show.php/Knights?content=122046"
+license=('GPL')
+depends=('libkdegames4' 'kdebase-runtime')
+optdepends=('gnuchess: for playing against the computer')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://dl.dropbox.com/u/2888238/Knights/$pkgname-$pkgver.tar.bz2")
+md5sums=('58237998aeee8b6414f6e6f92d070395')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: knights/repos/community-staging-i686/knights.install (from rev 131149, knights/trunk/knights.install)
===================================================================
--- community-staging-i686/knights.install	                        (rev 0)
+++ community-staging-i686/knights.install	2015-04-11 06:58:19 UTC (rev 131150)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: knights/repos/community-staging-x86_64/PKGBUILD (from rev 131149, knights/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-04-11 06:58:19 UTC (rev 131150)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=knights
+pkgver=2.5.0
+pkgrel=3
+pkgdesc="Chess board for KDE with XBoard protocol support"
+arch=('i686' 'x86_64')
+url="http://kde-apps.org/content/show.php/Knights?content=122046"
+license=('GPL')
+depends=('libkdegames4' 'kdebase-runtime')
+optdepends=('gnuchess: for playing against the computer')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://dl.dropbox.com/u/2888238/Knights/$pkgname-$pkgver.tar.bz2")
+md5sums=('58237998aeee8b6414f6e6f92d070395')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: knights/repos/community-staging-x86_64/knights.install (from rev 131149, knights/trunk/knights.install)
===================================================================
--- community-staging-x86_64/knights.install	                        (rev 0)
+++ community-staging-x86_64/knights.install	2015-04-11 06:58:19 UTC (rev 131150)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list