summaryrefslogtreecommitdiffstats
path: root/games/gnomegames2/pkg-install
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-06-09 13:45:19 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-06-09 13:45:19 +0800
commit289c2aeb720baddf067b2cc68842f3b2bbda847b (patch)
tree2a2273e74407d224e5882347a6d203f50571e920 /games/gnomegames2/pkg-install
parent86354dcbeda369384e6db84c5d285b5d4d55ad4c (diff)
downloadmarcuscom-ports-289c2aeb720baddf067b2cc68842f3b2bbda847b.tar
marcuscom-ports-289c2aeb720baddf067b2cc68842f3b2bbda847b.tar.gz
marcuscom-ports-289c2aeb720baddf067b2cc68842f3b2bbda847b.tar.bz2
marcuscom-ports-289c2aeb720baddf067b2cc68842f3b2bbda847b.tar.lz
marcuscom-ports-289c2aeb720baddf067b2cc68842f3b2bbda847b.tar.xz
marcuscom-ports-289c2aeb720baddf067b2cc68842f3b2bbda847b.tar.zst
marcuscom-ports-289c2aeb720baddf067b2cc68842f3b2bbda847b.zip
- Add gnomegames2 at version 2.11.1
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4054 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnomegames2/pkg-install')
-rw-r--r--games/gnomegames2/pkg-install17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/gnomegames2/pkg-install b/games/gnomegames2/pkg-install
new file mode 100644
index 000000000..af98af89f
--- /dev/null
+++ b/games/gnomegames2/pkg-install
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+PATH=/bin:/usr/bin:/usr/sbin
+
+case $2 in
+POST-INSTALL)
+ mkdir -p ${PKG_PREFIX}/share/gnome/games
+ SCORES="glines.scores glines.Large.scores glines.Medium.scores glines.Small.scores gnibbles.1.0.scores gnibbles.1.1.scores gnibbles.2.0.scores gnibbles.2.1.scores gnibbles.3.0.scores gnibbles.3.1.scores gnibbles.4.0.scores gnibbles.4.1.scores gnobots2.classic_robots-safe.scores gnobots2.classic_robots-super-safe.scores gnobots2.classic_robots.scores gnobots2.nightmare-safe.scores gnobots2.nightmare-super-safe.scores gnobots2.nightmare.scores gnobots2.robots2-safe.scores gnobots2.robots2-super-safe.scores gnobots2.robots2.scores gnobots2.robots2_easy-safe.scores gnobots2.robots2_easy-super-safe.scores gnobots2.robots2_easy.scores gnobots2.robots_with_safe_teleport-safe.scores gnobots2.robots_with_safe_teleport-super-safe.scores gnobots2.robots_with_safe_teleport.scores gnome-stones.scores gnometris.scores gnomine.Custom.scores gnomine.Large.scores gnomine.Medium.scores gnomine.Small.scores gnotravex.2x2.scores gnotravex.3x3.scores gnotravex.4x4.scores gnotravex.5x5.scores gnotravex.6x6.scores gnotski.1.scores gnotski10.scores gnotski.11.scores gnotski.12.scores gnotski.13.scores gnotski.14.scores gnotski.15.scores gnotski.16.scores gnotski.17.scores gnotski.18.scores gnotski.2.scores gnotski.20.scores gnotski.21.scores gnotski.22.scores gnotski.23.scores gnotski.24.scores gnotski.25.scores gnotski.26.scores gnotski.27.scores gnotski.28.scores gnotski.29.scores gnotski.3.scores gnotski.30.scores gnotski.31.scores gnotski.32.scores gnotski.33.scores gnotski.34.scores gnotski.35.scores gnotski.36.scores gnotski.37.score gnotski.4.scores gnotski.5.scores gnotski.6.scores gnotski.7.scores gnotski.8.scores gnotski.9.scores gtali.scores mahjongg.bridges.scores mahjongg.cloud.scores mahjongg.confounding.scores mahjongg.difficult.scores mahjongg.dragon.scores mahjongg.easy.scores mahjongg.pyramid.scores mahjongg.tictactoe.scores mahjongg.ziggurat.scores same-gnome.scores"
+ for i in ${SCORES}; do
+ if [ ! -f ${PKG_PREFIX}/share/gnome/games/${i} ]; then
+ touch -f ${PKG_PREFIX}/share/gnome/games/${i}
+ chown games:games ${PKG_PREFIX}/share/gnome/games/${i}
+ chmod 0664 ${PKG_PREFIX}/share/gnome/games/${i}
+ fi
+ done
+ ;;
+esac