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

Antonio Rojas arojas at archlinux.org
Fri Dec 19 20:30:42 UTC 2014


    Date: Friday, December 19, 2014 @ 21:30:42
  Author: arojas
Revision: 124124

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

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

----------------------------------+
 community-i686/PKGBUILD          |   32 ++++++++++++++++++++++++++++++++
 community-i686/knights.install   |   11 +++++++++++
 community-x86_64/PKGBUILD        |   32 ++++++++++++++++++++++++++++++++
 community-x86_64/knights.install |   11 +++++++++++
 4 files changed, 86 insertions(+)

Copied: knights/repos/community-i686/PKGBUILD (from rev 124123, knights/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-12-19 20:30:42 UTC (rev 124124)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=knights
+pkgver=2.5.0
+pkgrel=2
+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=('libkdegames' '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-i686/knights.install (from rev 124123, knights/trunk/knights.install)
===================================================================
--- community-i686/knights.install	                        (rev 0)
+++ community-i686/knights.install	2014-12-19 20:30:42 UTC (rev 124124)
@@ -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-x86_64/PKGBUILD (from rev 124123, knights/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-12-19 20:30:42 UTC (rev 124124)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=knights
+pkgver=2.5.0
+pkgrel=2
+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=('libkdegames' '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-x86_64/knights.install (from rev 124123, knights/trunk/knights.install)
===================================================================
--- community-x86_64/knights.install	                        (rev 0)
+++ community-x86_64/knights.install	2014-12-19 20:30:42 UTC (rev 124124)
@@ -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