[arch-commits] Commit in kdegames-kigo/repos (6 files)
Felix Yan
fyan at archlinux.org
Fri Jan 16 04:30:36 UTC 2015
Date: Friday, January 16, 2015 @ 05:30:36
Author: fyan
Revision: 229197
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegames-kigo/repos/testing-i686/
kdegames-kigo/repos/testing-i686/PKGBUILD
(from rev 229196, kdegames-kigo/trunk/PKGBUILD)
kdegames-kigo/repos/testing-i686/kdegames-kigo.install
(from rev 229196, kdegames-kigo/trunk/kdegames-kigo.install)
kdegames-kigo/repos/testing-x86_64/
kdegames-kigo/repos/testing-x86_64/PKGBUILD
(from rev 229196, kdegames-kigo/trunk/PKGBUILD)
kdegames-kigo/repos/testing-x86_64/kdegames-kigo.install
(from rev 229196, kdegames-kigo/trunk/kdegames-kigo.install)
--------------------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-i686/kdegames-kigo.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-x86_64/kdegames-kigo.install | 12 ++++++++++++
4 files changed, 88 insertions(+)
Copied: kdegames-kigo/repos/testing-i686/PKGBUILD (from rev 229196, kdegames-kigo/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-01-16 04:30:36 UTC (rev 229197)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kigo
+pkgver=14.12.1
+pkgrel=1
+pkgdesc="An open-source implementation of the popular Go game"
+url="http://kde.org/applications/games/kigo/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames' 'gnugo')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kigo-${pkgver}.tar.xz")
+sha1sums=('131ce0dec4d37dd17c13c365588123aeb661a4ff')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kigo-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kigo/repos/testing-i686/kdegames-kigo.install (from rev 229196, kdegames-kigo/trunk/kdegames-kigo.install)
===================================================================
--- testing-i686/kdegames-kigo.install (rev 0)
+++ testing-i686/kdegames-kigo.install 2015-01-16 04:30:36 UTC (rev 229197)
@@ -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-kigo/repos/testing-x86_64/PKGBUILD (from rev 229196, kdegames-kigo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-01-16 04:30:36 UTC (rev 229197)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kigo
+pkgver=14.12.1
+pkgrel=1
+pkgdesc="An open-source implementation of the popular Go game"
+url="http://kde.org/applications/games/kigo/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames' 'gnugo')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kigo-${pkgver}.tar.xz")
+sha1sums=('131ce0dec4d37dd17c13c365588123aeb661a4ff')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kigo-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kigo/repos/testing-x86_64/kdegames-kigo.install (from rev 229196, kdegames-kigo/trunk/kdegames-kigo.install)
===================================================================
--- testing-x86_64/kdegames-kigo.install (rev 0)
+++ testing-x86_64/kdegames-kigo.install 2015-01-16 04:30:36 UTC (rev 229197)
@@ -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