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

Pierre Schmitz pierre at archlinux.org
Thu Jun 11 18:35:05 EDT 2009


    Date: Thursday, June 11, 2009 @ 18:35:04
  Author: pierre
Revision: 42248

Merged revisions 41955,42123 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/kdegames/kde-unstable

........
  r41955 | pierre | 2009-06-08 16:51:56 +0200 (Mo, 08 Jun 2009) | 1 line
  
  inital implementation of splitted packages; generated by a script -> might be insane
........
  r42123 | pierre | 2009-06-11 17:43:04 +0200 (Do, 11 Jun 2009) | 1 line
  
  update to snapshot; cleanup
........

Added:
  kdegames/repos/kde-unstable-x86_64/kdegames-kbattleship.install
    (from rev 42123, kdegames/kde-unstable/kdegames-kbattleship.install)
  kdegames/repos/kde-unstable-x86_64/kdegames-kreversi.install
    (from rev 42123, kdegames/kde-unstable/kdegames-kreversi.install)
  kdegames/repos/kde-unstable-x86_64/kdegames-ksquares.install
    (from rev 42123, kdegames/kde-unstable/kdegames-ksquares.install)
Modified:
  kdegames/repos/kde-unstable-x86_64/	(properties)
  kdegames/repos/kde-unstable-x86_64/PKGBUILD

------------------------------+
 PKGBUILD                     |  418 +++++++++++++++++++++++++++++++++++++++--
 kdegames-kbattleship.install |   22 ++
 kdegames-kreversi.install    |   22 ++
 kdegames-ksquares.install    |   22 ++
 4 files changed, 467 insertions(+), 17 deletions(-)


Property changes on: kdegames/repos/kde-unstable-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /kdegames/kde-unstable:1-41593
   + /kdegames/kde-unstable:1-42247

Modified: kde-unstable-x86_64/PKGBUILD
===================================================================
--- kde-unstable-x86_64/PKGBUILD	2009-06-11 22:34:24 UTC (rev 42247)
+++ kde-unstable-x86_64/PKGBUILD	2009-06-11 22:35:04 UTC (rev 42248)
@@ -1,35 +1,419 @@
 # $Id$
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
-pkgname=kdegames
-pkgver=4.2.90
+pkgbase=kdegames
+pkgname=('kdegames-bomber'
+         'kdegames-bovo'
+         'kdegames-kapman'
+         'kdegames-katomic'
+         'kdegames-kbattleship'
+         'kdegames-kblackbox'
+         'kdegames-kblocks'
+         'kdegames-kbounce'
+         'kdegames-kbreakout'
+         'kdegames-kdiamond'
+         'kdegames-kfourinline'
+         'kdegames-kgoldrunner'
+         'kdegames-killbots'
+         'kdegames-kiriki'
+         'kdegames-kjumpingcube'
+         'kdegames-klines'
+         'kdegames-kmahjongg'
+         'kdegames-kmines'
+         'kdegames-knetwalk'
+         'kdegames-kolf'
+         'kdegames-kollision'
+         'kdegames-konquest'
+         'kdegames-kpat'
+         'kdegames-kreversi'
+         'kdegames-ksame'
+         'kdegames-kshisen'
+         'kdegames-ksirk'
+         'kdegames-kspaceduel'
+         'kdegames-ksquares'
+         'kdegames-ksudoku'
+         'kdegames-ktron'
+         'kdegames-ktuberling'
+         'kdegames-kubrick'
+         'kdegames-libkdegames'
+         'kdegames-libkmahjongg'
+         'kdegames-lskat')
+pkgver=4.2.91svn979380
 pkgrel=1
-pkgdesc="KDE Games"
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL' 'FDL')
-groups=('kde')
-depends=('kdelibs' 'kdebase-runtime' 'qca' 'ggz-client-libs')
-makedepends=('pkgconfig' 'cmake' 'automoc4')
-install='kdegames.install'
-source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('437c98d4ce6da16d8a18974221669e68')
+groups=('kde' 'kdegames')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdelibs' 'kdebase-runtime' 'qca' 'ggz-client-libs')
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
+md5sums=('0a10d2e71d43d89a7618d0b3fb7986f6')
 
 build() {
 	cd $srcdir
 	mkdir build
 	cd build
-	cmake ../${pkgname}-${pkgver} \
-		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+	cmake ../${pkgbase}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_SKIP_RPATH=ON \
 		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
 		-DCMAKE_INSTALL_PREFIX=/usr
 	make
+}
+
+package_kdegames-bomber() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/bomber
 	make DESTDIR=$pkgdir install
-	# will be generated during install
-	rm -rf $pkgdir/etc
-	install -D -m644 $srcdir/${pkgname}-${pkgver}/kreversi/module.dsc $pkgdir/usr/share/ggz/kreversi.dsc
-	install -D -m644 $srcdir/${pkgname}-${pkgver}/ksquares/src/module.dsc $pkgdir/usr/share/ggz/ksquares.dsc
-	install -D -m644 $srcdir/${pkgname}-${pkgver}/kbattleship/src/module.dsc $pkgdir/usr/share/ggz/kbattleship.dsc
+	cd $srcdir/build/doc/bomber
+	make DESTDIR=$pkgdir install
 }
-options=('!strip')
+
+package_kdegames-bovo() {
+	pkgdesc='Five-in-a-row Board Game.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	cd $srcdir/build/bovo
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/bovo
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kapman() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kapman
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kapman
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-katomic() {
+	pkgdesc='Build complex atoms with a minimal amount of moves.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/katomic
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/katomic
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kbattleship() {
+	pkgdesc='Sink battleship of your opponents, with built-in game server.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames' 'ggz-client-libs')
+	install='kdegames-kbattleship.install'
+	cd $srcdir/build/kbattleship
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kbattleship
+	make DESTDIR=$pkgdir install
+	install -D -m644 $srcdir/${pkgbase}-${pkgver}/kbattleship/src/module.dsc $pkgdir/usr/share/ggz/kbattleship.dsc
+}
+
+package_kdegames-kblackbox() {
+	pkgdesc='Find the balls hidden in the black box by shooting laser beams!'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kblackbox
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kblackbox
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kblocks() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kblocks
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kblocks
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kbounce() {
+	pkgdesc='Claim areas and do not get disturbed.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kbounce
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kbounce
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kbreakout() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kbreakout
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kbreakout
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kdiamond() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kdiamond
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kdiamond
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kfourinline() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kfourinline
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kfourinline
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kgoldrunner() {
+	pkgdesc='A game of action and puzzle-solving.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kgoldrunner
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kgoldrunner
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-killbots() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/killbots
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/killbots
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kiriki() {
+	pkgdesc='Yahtzee-like Dice Game.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kiriki
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kiriki
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kjumpingcube() {
+	pkgdesc='A tactical game for number-crunchers.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kjumpingcube
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kjumpingcube
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-klines() {
+	pkgdesc='Place 5 equal pieces together, but wait, there are 3 new ones.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/klines
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/klines
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kmahjongg() {
+	pkgdesc='A tile laying patience.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames' 'kdegames-libkmahjongg')
+	install='kdegames.install'
+	cd $srcdir/build/kmahjongg
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kmahjongg
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kmines() {
+	pkgdesc='The classical mine sweeper.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kmines
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kmines
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-knetwalk() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/knetwalk
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/knetwalk
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kolf() {
+	pkgdesc='A mini golf game.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kolf
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kolf
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kollision() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kollision
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kollision
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-konquest() {
+	pkgdesc='Conquer the planets of your enemy.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/konquest
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/konquest
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kpat() {
+	pkgdesc='Several patience card games.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kpat
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kpat
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kreversi() {
+	pkgdesc='The old reversi board game, also known as Othello.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames' 'ggz-client-libs')
+	install='kdegames-kreversi.install'
+	cd $srcdir/build/kreversi
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kreversi
+	make DESTDIR=$pkgdir install
+	install -D -m644 $srcdir/${pkgbase}-${pkgver}/kreversi/module.dsc $pkgdir/usr/share/ggz/kreversi.dsc
+}
+
+package_kdegames-ksame() {
+	pkgdesc='Collect pieces of the same color.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/ksame
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/ksame
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kshisen() {
+	pkgdesc='Patience game where you take away all pieces.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames' 'kdegames-libkmahjongg')
+	install='kdegames.install'
+	cd $srcdir/build/kshisen
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kshisen
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-ksirk() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames' 'qca')
+	install='kdegames.install'
+	cd $srcdir/build/ksirk
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/ksirk
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kspaceduel() {
+	pkgdesc='Two player game with shooting spaceships flying around a sun.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kspaceduel
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kspaceduel
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-ksquares() {
+	pkgdesc='Connect the dots to create squares.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames' 'ggz-client-libs')
+	install='kdegames-ksquares.install'
+	cd $srcdir/build/ksquares
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/ksquares
+	make DESTDIR=$pkgdir install
+	install -D -m644 $srcdir/${pkgbase}-${pkgver}/ksquares/src/module.dsc $pkgdir/usr/share/ggz/ksquares.dsc
+}
+
+package_kdegames-ksudoku() {
+	pkgdesc='Sudoku game and more.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/ksudoku
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/ksudoku
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-ktron() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/ktron
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/ktron
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-ktuberling() {
+	pkgdesc='Kids game: make your own potato (NO french fries!)'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/ktuberling
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/ktuberling
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-kubrick() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/kubrick
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kubrick
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-libkdegames() {
+	pkgdesc='KDE game library'
+	groups=()
+	depends=('kdelibs')
+	cd $srcdir/build/libkdegames
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-libkmahjongg() {
+	pkgdesc='Library used for loading and rendering of Mahjongg tilesets.'
+	groups=()
+	depends=('kdelibs')
+	cd $srcdir/build/libkmahjongg
+	make DESTDIR=$pkgdir install
+}
+
+package_kdegames-lskat() {
+	pkgdesc='Lieutnant skat.'
+	depends=('kdebase-runtime' 'kdegames-libkdegames')
+	install='kdegames.install'
+	cd $srcdir/build/lskat
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/lskat
+	make DESTDIR=$pkgdir install
+}

Copied: kdegames/repos/kde-unstable-x86_64/kdegames-kbattleship.install (from rev 42123, kdegames/kde-unstable/kdegames-kbattleship.install)
===================================================================
--- kde-unstable-x86_64/kdegames-kbattleship.install	                        (rev 0)
+++ kde-unstable-x86_64/kdegames-kbattleship.install	2009-06-11 22:35:04 UTC (rev 42248)
@@ -0,0 +1,22 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	ggz-config -i -f -m usr/share/ggz/kbattleship.dsc >& /dev/null
+}
+
+pre_remove() {
+	if [ -f usr/share/ggz/kbattleship.dsc ]; then
+		ggz-config -r -m usr/share/ggz/kbattleship.dsc >& /dev/null
+	fi
+}
+
+pre_upgrade() {
+	pre_remove
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}

Copied: kdegames/repos/kde-unstable-x86_64/kdegames-kreversi.install (from rev 42123, kdegames/kde-unstable/kdegames-kreversi.install)
===================================================================
--- kde-unstable-x86_64/kdegames-kreversi.install	                        (rev 0)
+++ kde-unstable-x86_64/kdegames-kreversi.install	2009-06-11 22:35:04 UTC (rev 42248)
@@ -0,0 +1,22 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	ggz-config -i -f -m usr/share/ggz/kreversi.dsc >& /dev/null
+}
+
+pre_remove() {
+	if [ -f usr/share/ggz/kreversi.dsc ]; then
+		ggz-config -r -m usr/share/ggz/kreversi.dsc >& /dev/null
+	fi
+}
+
+pre_upgrade() {
+	pre_remove
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}

Copied: kdegames/repos/kde-unstable-x86_64/kdegames-ksquares.install (from rev 42123, kdegames/kde-unstable/kdegames-ksquares.install)
===================================================================
--- kde-unstable-x86_64/kdegames-ksquares.install	                        (rev 0)
+++ kde-unstable-x86_64/kdegames-ksquares.install	2009-06-11 22:35:04 UTC (rev 42248)
@@ -0,0 +1,22 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	ggz-config -i -f -m usr/share/ggz/ksquares.dsc >& /dev/null
+}
+
+pre_remove() {
+	if [ -f usr/share/ggz/ksquares.dsc ]; then
+		ggz-config -r -m usr/share/ggz/ksquares.dsc >& /dev/null
+	fi
+}
+
+pre_upgrade() {
+	pre_remove
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}



More information about the arch-commits mailing list