mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
422 lines
11 KiB
Bash
422 lines
11 KiB
Bash
# $Id: PKGBUILD 54210 2009-10-07 10:17:03Z andrea $
|
||
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||
|
||
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.3.2
|
||
pkgrel=1
|
||
arch=('i686' 'x86_64')
|
||
url='http://www.kde.org'
|
||
license=('GPL' 'LGPL' 'FDL')
|
||
groups=('kde' 'kdegames')
|
||
makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdelibs' 'kdebase-runtime' 'qca' 'ggz-client-libs')
|
||
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
|
||
md5sums=('7ddf38fb2aa84bd14d176d5a9f45ed3f')
|
||
|
||
build() {
|
||
cd $srcdir
|
||
mkdir build
|
||
cd build
|
||
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='Arcade Bombing Game'
|
||
depends=('kdebase-runtime' 'kdegames-libkdegames')
|
||
install='kdegames.install'
|
||
cd $srcdir/build/bomber
|
||
make DESTDIR=$pkgdir install
|
||
cd $srcdir/build/doc/bomber
|
||
make DESTDIR=$pkgdir install
|
||
}
|
||
|
||
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='Eat pills escaping ghosts'
|
||
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='Sokoban-like Logic Game'
|
||
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='Battleship Game'
|
||
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='Blackbox Logic Game'
|
||
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='Falling Blocks Game'
|
||
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='Ball Bouncing Game'
|
||
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='Breakout-like Game'
|
||
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='Three-in-a-row game'
|
||
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='Four-in-a-row Board Game'
|
||
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='Killbots'
|
||
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='Territory Capture Game'
|
||
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='Tactical Game'
|
||
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='Mahjongg Solitaire'
|
||
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='Minesweeper-like Game'
|
||
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='Network Construction Game'
|
||
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='Miniature Golf'
|
||
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='A simple ball dodging game'
|
||
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='Galactic Strategy Game'
|
||
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='Patience Card Game'
|
||
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='Reversi Board Game'
|
||
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='Board Game'
|
||
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='Shisen-Sho Mahjongg-like Tile Game'
|
||
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='World Domination Strategy Game'
|
||
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='Space Arcade Game'
|
||
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='KSudoku, Sudoku game & more for KDE'
|
||
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='Tron-like Game'
|
||
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='Picture Game for Children'
|
||
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='A 3-D game based on Rubik´s Cube'
|
||
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
|
||
for i in $srcdir/${pkgbase}-${pkgver}/cmake/modules/*.cmake; do
|
||
install -D -m644 $i $pkgdir/usr/share/apps/cmake/modules/$(basename $i)
|
||
done
|
||
}
|
||
|
||
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='Card Game'
|
||
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
|
||
}
|