wok rev 3857

Up: childsplay (1.4) and remove old childsplay-* packages
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Aug 07 16:17:45 2009 +0000 (2009-08-07)
parents 7d31bed17bd3
children 13eb25ae963c
files childsplay-plugins-lfc/receipt childsplay-plugins-lfc/stuff/install.sh.patch childsplay-plugins/receipt childsplay-plugins/stuff/install.sh.patch childsplay/receipt
line diff
     1.1 --- a/childsplay-plugins-lfc/receipt	Fri Aug 07 19:35:09 2009 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,30 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="childsplay-plugins-lfc"
     1.7 -SOURCE="childsplay_plugins_lfc"
     1.8 -VERSION="0.90"
     1.9 -CATEGORY="games"
    1.10 -SHORT_DESC="Letter flash cards game for childsplay."
    1.11 -MAINTAINER="claudinei@slitaz.org"
    1.12 -TARBALL="$SOURCE-$VERSION.tgz"
    1.13 -WEB_SITE="http://www.childschool.org"
    1.14 -WGET_URL="$SF_MIRROR/childsplay/$TARBALL"
    1.15 -DEPENDS="python childsplay"
    1.16 -BUILD_DEPENDS="$DEPENDS"
    1.17 -
    1.18 -# Rules to configure and make the package.
    1.19 -compile_rules()
    1.20 -{
    1.21 -	cd $src
    1.22 -	patch -p1 -i ../stuff/install.sh.patch	
    1.23 -	sh install.sh
    1.24 -}
    1.25 -
    1.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 -genpkg_rules()
    1.28 -{
    1.29 -	mkdir -p $fs/usr $fs/usr/share
    1.30 -	cp -a $_pkg/usr/lib $fs/usr
    1.31 -	cp -a $_pkg/usr/share/assetml $fs/usr/share
    1.32 -	cp -a $_pkg/usr/share/childsplay $fs/usr/share
    1.33 -}
     2.1 --- a/childsplay-plugins-lfc/stuff/install.sh.patch	Fri Aug 07 19:35:09 2009 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,116 +0,0 @@
     2.4 ---- childsplay_plugins_lfc-0.90/install.sh.orig	Sat Aug 25 07:53:57 2007
     2.5 -+++ childsplay_plugins_lfc-0.90/install.sh	Thu Jun 11 21:07:43 2009
     2.6 -@@ -8,8 +8,15 @@
     2.7 - # However, you can change the "prefix" to "/usr" and childsplay will still
     2.8 - # work. Set it to anything else and your on your own.
     2.9 -   
    2.10 --PREFIX=/usr/local
    2.11 -+PREFIX=/usr
    2.12 -+PKG_PREFIX=$PWD/_pkg/usr
    2.13 - 
    2.14 -+# Create directories to install the package
    2.15 -+mkdir -p $PKG_PREFIX/lib/games/childsplay/lib
    2.16 -+mkdir -p $PKG_PREFIX/share/assetml
    2.17 -+mkdir -p $PKG_PREFIX/share/childsplay/Data/icons
    2.18 -+mkdir -p $PKG_PREFIX/share/childsplay/lib
    2.19 -+
    2.20 - #################################################################
    2.21 - # DON'T EDIT BEHIND THIS POINT 
    2.22 - #################################################################
    2.23 -@@ -19,7 +26,7 @@
    2.24 - fi
    2.25 - 
    2.26 - LOCALEDIR=$PREFIX/share/locale
    2.27 --ASSETMLDIR=/usr/share/assetml
    2.28 -+ASSETMLDIR=$PREFIX/share/assetml
    2.29 - PYTHON=`which python`
    2.30 - SCOREDIR=/var/games
    2.31 - DOCDIR=$PREFIX/share/doc/childsplay
    2.32 -@@ -30,10 +37,17 @@
    2.33 - SHARELIBDATADIR=$SHAREDIR/lib
    2.34 - SHAREDATADIR=$SHAREDIR/Data
    2.35 - 
    2.36 -+# package directories
    2.37 -+PKG_ASSETMLDIR=$PKG_PREFIX/share/assetml
    2.38 -+PKG_CPDIR=$PKG_PREFIX/lib/games/childsplay
    2.39 -+PKG_SHAREDIR=$PKG_PREFIX/share/childsplay
    2.40 -+PKG_SHARELIBDATADIR=$PKG_SHAREDIR/lib
    2.41 -+PKG_SHAREDATADIR=$PKG_SHAREDIR/Data
    2.42 -+
    2.43 - ##################################################
    2.44 - #  Package text to be displayed as last step
    2.45 - # 0 = no readmes to display, 1 = there are readmes
    2.46 --README=1
    2.47 -+README=0
    2.48 - # if README=1 then READMES=names of readmes in CWD
    2.49 - # like this READMES="README README2 README3"
    2.50 - READMES="README"
    2.51 -@@ -52,8 +66,8 @@
    2.52 - echo -e "\n>>>>>>>>>>> Install childsplay plugins >>>>>>>>>>>>>>>>>>>>"
    2.53 - echo -e "\n This release depends on childsplay version >= $DEPEN"
    2.54 - echo -n " Checking, version = "
    2.55 --#CP=`which childsplay`
    2.56 --CP=$BINDIR/childsplay
    2.57 -+CP=`which childsplay`
    2.58 -+#CP=$BINDIR/childsplay
    2.59 - VERSION=$($CP --version)
    2.60 - echo $VERSION
    2.61 - 
    2.62 -@@ -73,21 +87,21 @@
    2.63 - 
    2.64 - set -e
    2.65 - 
    2.66 --echo -e "\n The path to install the plugins in is $CPDIR."
    2.67 --echo " If you have installed childsplay in a other place, you can"
    2.68 --echo " give the full path to childsplay, otherwise just hit enter"
    2.69 --echo " Hit enter to install in $CPDIR, or give the full path"
    2.70 --read path
    2.71 --if [ $path ];then
    2.72 --    if [ -e $path/install.py ];then
    2.73 --        CPDIR=path
    2.74 --    else
    2.75 --        echo "*********** WARNING *************"
    2.76 --        echo " $path does not exists or is not the childsplay directory"
    2.77 --        echo " exit"
    2.78 --        exit 1
    2.79 --    fi
    2.80 --fi
    2.81 -+# echo -e "\n The path to install the plugins in is $CPDIR."
    2.82 -+# echo " If you have installed childsplay in a other place, you can"
    2.83 -+# echo " give the full path to childsplay, otherwise just hit enter"
    2.84 -+# echo " Hit enter to install in $CPDIR, or give the full path"
    2.85 -+# read path
    2.86 -+# if [ $path ];then
    2.87 -+#     if [ -e $path/install.py ];then
    2.88 -+#         CPDIR=path
    2.89 -+#     else
    2.90 -+#         echo "*********** WARNING *************"
    2.91 -+#         echo " $path does not exists or is not the childsplay directory"
    2.92 -+#         echo " exit"
    2.93 -+#         exit 1
    2.94 -+#     fi
    2.95 -+# fi
    2.96 - echo " Installing in $CPDIR"
    2.97 - 
    2.98 - echo "Compiling modules to bytecode..."
    2.99 -@@ -97,16 +111,16 @@
   2.100 - for DIR in `ls $CWD/lib`
   2.101 - do 
   2.102 -     if [ -d $CWD/lib/$DIR ]
   2.103 --	 then cp -rf $CWD/lib/$DIR $SHARELIBDATADIR
   2.104 --	 else cp -f $CWD/lib/$DIR $CPDIR/lib
   2.105 -+	 then cp -rf $CWD/lib/$DIR $PKG_SHARELIBDATADIR
   2.106 -+	 else cp -f $CWD/lib/$DIR $PKG_CPDIR/lib
   2.107 -     fi
   2.108 - done
   2.109 - 
   2.110 - echo " Copy misc. data files"
   2.111 --cp -rf $CWD/Data/*.icon.png $SHAREDATADIR/icons/
   2.112 -+cp -rf $CWD/Data/*.icon.png $PKG_SHAREDATADIR/icons/
   2.113 - 
   2.114 - echo " Copy assetml files"
   2.115 --cp -rf $CWD/assetml/* $ASSETMLDIR
   2.116 -+cp -rf $CWD/assetml/* $PKG_ASSETMLDIR
   2.117 - 
   2.118 - echo -e "\n Everything installed, enjoy\n"
   2.119 - echo -e "\n***************** IMPORTANT *************************"
     3.1 --- a/childsplay-plugins/receipt	Fri Aug 07 19:35:09 2009 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,46 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="childsplay-plugins"
     3.7 -SOURCE="childsplay_plugins"
     3.8 -VERSION="0.90"
     3.9 -CATEGORY="games"
    3.10 -SHORT_DESC="Extra games for childsplay."
    3.11 -MAINTAINER="claudinei@slitaz.org"
    3.12 -TARBALL="$SOURCE-$VERSION.tgz"
    3.13 -WEB_SITE="http://www.childschool.org"
    3.14 -WGET_URL="$SF_MIRROR/childsplay/$TARBALL"
    3.15 -DEPENDS="python childsplay"
    3.16 -BUILD_DEPENDS="$DEPENDS"
    3.17 -
    3.18 -# Rules to configure and make the package.
    3.19 -compile_rules()
    3.20 -{
    3.21 -	cd $src
    3.22 -	patch -p1 -i ../stuff/install.sh.patch	
    3.23 -	sh install.sh
    3.24 -}
    3.25 -
    3.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.27 -genpkg_rules()
    3.28 -{
    3.29 -	mkdir -p $fs/usr $fs/usr/share $fs/var/games
    3.30 -	cp -a $_pkg/usr/bin $fs/usr
    3.31 -	cp -a $_pkg/usr/lib $fs/usr
    3.32 -	cp -a $_pkg/usr/share/assetml $fs/usr/share
    3.33 -	cp -a $_pkg/usr/share/childsplay $fs/usr/share
    3.34 -	cp -a $_pkg/usr/share/childsplay/Data/childsplay.score \
    3.35 -		$fs/var/games
    3.36 -}
    3.37 -
    3.38 -# Remove the original childsplay.score file and write the new one
    3.39 -post_install()
    3.40 -{
    3.41 -	VARDIR="/var/games"
    3.42 -	DATADIR="/usr/share/childsplay/Data"
    3.43 -	SCOREFILE="childsplay.score"
    3.44 -	if [ -f $VARDIR/$SCOREFILE ] 
    3.45 -	then
    3.46 -		rm $DATADIR/$SCOREFILE
    3.47 -		ln -s $VARDIR/$SCOREFILE $DATADIR/$SCOREFILE
    3.48 -	fi
    3.49 -}	
     4.1 --- a/childsplay-plugins/stuff/install.sh.patch	Fri Aug 07 19:35:09 2009 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,186 +0,0 @@
     4.4 ---- childsplay_plugins-0.90/install.sh.orig	Sat Aug 25 07:53:40 2007
     4.5 -+++ childsplay_plugins-0.90/install.sh	Thu Jun 11 18:19:32 2009
     4.6 -@@ -8,8 +8,18 @@
     4.7 - # However, you can change the "prefix" to "/usr" and childsplay will still
     4.8 - # work. Set it to anything else and your on your own.
     4.9 -   
    4.10 --PREFIX=/usr/local
    4.11 - 
    4.12 -+PKG_PREFIX=$PWD/_pkg/usr
    4.13 -+PREFIX=/usr
    4.14 -+
    4.15 -+# Create directories to install the package
    4.16 -+mkdir -p $PKG_PREFIX/bin
    4.17 -+mkdir -p $PKG_PREFIX/lib/games/childsplay/lib
    4.18 -+mkdir -p $PKG_PREFIX/share/assetml
    4.19 -+mkdir -p $PKG_PREFIX/share/childsplay/Data/icons
    4.20 -+mkdir -p $PKG_PREFIX/share/childsplay/lib
    4.21 -+
    4.22 -+
    4.23 - #################################################################
    4.24 - # DON'T EDIT BEHIND THIS POINT 
    4.25 - #################################################################
    4.26 -@@ -20,7 +30,7 @@
    4.27 - 
    4.28 - LOCALEDIR=$PREFIX/share/locale
    4.29 - MTDIR=$PREFIX/bin
    4.30 --ASSETMLDIR=/usr/share/assetml
    4.31 -+ASSETMLDIR=$PREFIX/share/assetml
    4.32 - PYTHON=`which python`
    4.33 - SCOREDIR=/var/games
    4.34 - DOCDIR=$PREFIX/share/doc/childsplay
    4.35 -@@ -31,10 +41,22 @@
    4.36 - SHARELIBDATADIR=$SHAREDIR/lib
    4.37 - SHAREDATADIR=$SHAREDIR/Data
    4.38 - 
    4.39 -+# package directories
    4.40 -+PKG_MTDIR=$PKG_PREFIX/bin
    4.41 -+PKG_LOCALEDIR=$PKG_PREFIX/share/locale
    4.42 -+PKG_ASSETMLDIR=$PKG_PREFIX/share/assetml
    4.43 -+PKG_CPDIR=$PKG_PREFIX/lib/games/childsplay
    4.44 -+PKG_SHAREDIR=$PKG_PREFIX/share/childsplay
    4.45 -+PKG_SHARELIBDATADIR=$PKG_SHAREDIR/lib
    4.46 -+PKG_SHAREDATADIR=$PKG_SHAREDIR/Data
    4.47 -+
    4.48 -+# copy the score file to the PKG_SHAREDATADIR
    4.49 -+cp $SHAREDATADIR/childsplay.score $PKG_SHAREDATADIR
    4.50 -+
    4.51 - ##################################################
    4.52 - #  Package text to be displayed as last step
    4.53 - # 0 = no readmes to display, 1 = there are readmes
    4.54 --README=1
    4.55 -+README=0
    4.56 - # if README=1 then READMES=names of readmes in CWD
    4.57 - # like this READMES="README README2 README3"
    4.58 - READMES="README README-PACKID README.MT_users2csv"
    4.59 -@@ -55,8 +77,8 @@
    4.60 - echo -e "\n>>>>>>>>>>> Install childsplay plugins >>>>>>>>>>>>>>>>>>>>"
    4.61 - echo -e "\n This release depends on childsplay version >= $DEPEN"
    4.62 - echo -n " Checking, version = "
    4.63 --#CP=`which childsplay`
    4.64 --CP=$BINDIR/childsplay
    4.65 -+CP=`which childsplay`
    4.66 -+#CP=$BINDIR/childsplay
    4.67 - VERSION=$($CP --version)
    4.68 - echo $VERSION
    4.69 - 
    4.70 -@@ -76,22 +98,22 @@
    4.71 - 
    4.72 - set -e
    4.73 - 
    4.74 --echo -e "\n The path to install the plugins in is $CPDIR."
    4.75 --echo " If you have installed childsplay in a other place, you can"
    4.76 --echo " give the full path to childsplay, otherwise just hit enter"
    4.77 --echo " Hit enter to install in $CPDIR, or give the full path"
    4.78 --read path
    4.79 --if [ $path ];then
    4.80 --    if [ -e $path/install.py ];then
    4.81 --        CPDIR=path
    4.82 --    else
    4.83 --        echo "*********** WARNING *************"
    4.84 --        echo " $path does not exists or is not the childsplay directory"
    4.85 --        echo " exit"
    4.86 --        exit 1
    4.87 --    fi
    4.88 --fi
    4.89 --echo " Installing in $CPDIR"
    4.90 -+# echo -e "\n The path to install the plugins in is $CPDIR."
    4.91 -+# echo " If you have installed childsplay in a other place, you can"
    4.92 -+# echo " give the full path to childsplay, otherwise just hit enter"
    4.93 -+# echo " Hit enter to install in $CPDIR, or give the full path"
    4.94 -+# read path
    4.95 -+# if [ $path ];then
    4.96 -+#     if [ -e $path/install.py ];then
    4.97 -+#         CPDIR=path
    4.98 -+#     else
    4.99 -+#         echo "*********** WARNING *************"
   4.100 -+#         echo " $path does not exists or is not the childsplay directory"
   4.101 -+#         echo " exit"
   4.102 -+#         exit 1
   4.103 -+#     fi
   4.104 -+# fi
   4.105 -+# echo " Installing in $CPDIR"
   4.106 - 
   4.107 - echo "Compiling modules to bytecode..."
   4.108 - $PYTHON $CPDIR/install.py --compile $CWD/lib
   4.109 -@@ -100,33 +122,33 @@
   4.110 - for DIR in `ls $CWD/lib`
   4.111 - do 
   4.112 -     if [ -d $CWD/lib/$DIR ]
   4.113 --	 then cp -rf $CWD/lib/$DIR $SHARELIBDATADIR
   4.114 --	 else cp -f $CWD/lib/$DIR $CPDIR/lib
   4.115 -+	 then cp -rf $CWD/lib/$DIR $PKG_SHARELIBDATADIR
   4.116 -+	 else cp -f $CWD/lib/$DIR $PKG_CPDIR/lib
   4.117 -     fi
   4.118 - done
   4.119 - 
   4.120 - echo " Copy misc. data files"
   4.121 --cp -rf $CWD/Data/*.icon.png $SHAREDATADIR/icons/
   4.122 --cp -rf $CWD/Data/AlphabetSounds $SHAREDATADIR/
   4.123 -+cp -rf $CWD/Data/*.icon.png $PKG_SHAREDATADIR/icons/
   4.124 -+cp -rf $CWD/Data/AlphabetSounds $PKG_SHAREDATADIR/
   4.125 - 
   4.126 - echo " Copy assetml files"
   4.127 --cp -rf $CWD/assetml/* $ASSETMLDIR
   4.128 -+cp -rf $CWD/assetml/* $PKG_ASSETMLDIR
   4.129 - 
   4.130 --echo " Copy README's to the childsplay doc directory"
   4.131 --for name in $READMES;do
   4.132 --    cp -f $CWD/$name $DOCDIR/$name
   4.133 --done
   4.134 -+# echo " Copy README's to the childsplay doc directory"
   4.135 -+# for name in $READMES;do
   4.136 -+#     cp -f $CWD/$name $DOCDIR/$name
   4.137 -+# done
   4.138 - 
   4.139 - echo -e "\n Trying to add $SCORE to the childsplay score sheet"
   4.140 - echo " Start add-score.py"
   4.141 --$PYTHON $CWD/add-score.py $SHAREDATADIR $SCORE
   4.142 -+$PYTHON $CWD/add-score.py $PKG_SHAREDATADIR $SCORE
   4.143 - 
   4.144 - echo -e "\n Installing MT_users2cvs.py"
   4.145 - echo " Look at the file called README.MT_users2csv for info on how"
   4.146 - echo " to use it. It usage is intended for teachers who want to an"
   4.147 - echo " users resume of the multiplication tables users."
   4.148 --cp -f $CWD/MT_users2csv.py $MTDIR/MT_users2csv.py 
   4.149 --chmod a+x $MTDIR/MT_users2csv.py
   4.150 -+cp -f $CWD/MT_users2csv.py $PKG_MTDIR/MT_users2csv.py 
   4.151 -+chmod a+x $PKG_MTDIR/MT_users2csv.py
   4.152 - 
   4.153 - echo -e "\n Everything installed, enjoy\n"
   4.154 - echo -e "\n***************** IMPORTANT *************************"
   4.155 -@@ -135,20 +157,20 @@
   4.156 - echo "BUG REPORTS ARE THE MOST IMPORTANT THINGS YOU CAN DO"
   4.157 - echo ""
   4.158 - 
   4.159 --if [ $README == 1 ];then
   4.160 --    echo " Read the README's (if any) that came with these packages,"
   4.161 --    echo " they contains directions on how to translate some"
   4.162 --    echo " text files used by the games in your own language"
   4.163 --    echo -e "\nHit any key to read the readme(s), enter to quit"
   4.164 --    read key
   4.165 --    if [ $key ];then
   4.166 --        for name in $READMES;do
   4.167 --            cat $name >> chplREADMEScat
   4.168 --        done
   4.169 --        `which more` chplREADMEScat
   4.170 --        rm chplREADMEScat
   4.171 --    fi
   4.172 --fi
   4.173 -+# if [ $README == 1 ];then
   4.174 -+#     echo " Read the README's (if any) that came with these packages,"
   4.175 -+#     echo " they contains directions on how to translate some"
   4.176 -+#     echo " text files used by the games in your own language"
   4.177 -+#     echo -e "\nHit any key to read the readme(s), enter to quit"
   4.178 -+#     read key
   4.179 -+#     if [ $key ];then
   4.180 -+#         for name in $READMES;do
   4.181 -+#             cat $name >> chplREADMEScat
   4.182 -+#         done
   4.183 -+#         `which more` chplREADMEScat
   4.184 -+#         rm chplREADMEScat
   4.185 -+#     fi
   4.186 -+# fi
   4.187 - 
   4.188 - echo ""
   4.189 - echo "***********************************************************************"
     5.1 --- a/childsplay/receipt	Fri Aug 07 19:35:09 2009 +0000
     5.2 +++ b/childsplay/receipt	Fri Aug 07 16:17:45 2009 +0000
     5.3 @@ -1,57 +1,48 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="childsplay"
     5.7 -VERSION="0.90.2"
     5.8 +VERSION="1.4"
     5.9  CATEGORY="games"
    5.10  SHORT_DESC="Python educational game."
    5.11  MAINTAINER="claudinei@slitaz.org"
    5.12  TARBALL="$PACKAGE-$VERSION.tgz"
    5.13 -WEB_SITE="http://www.childschool.org"
    5.14 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    5.15 -DEPENDS="python python-pygame"
    5.16 -BUILD_DEPENDS="python python-dev python-pygame libsdl libsdl-dev \
    5.17 -libsdl-image libsdl-image-dev libsdl-mixer libsdl-mixer-dev \
    5.18 -libsdl-ttf libsdl-ttf-dev libsmpeg libsmpeg-dev"
    5.19 +WEB_SITE="http://www.schoolsplay.org"
    5.20 +WGET_URL="$SF_MIRROR/schoolsplay/$TARBALL"
    5.21 +DEPENDS="python pygtk python-pygame python-pysqlite python-sqlalchemy libogg"
    5.22 +BUILD_DEPENDS="python python-dev"
    5.23  
    5.24  # Rules to configure and make the package.
    5.25  compile_rules()
    5.26  {
    5.27  	cd $src
    5.28 -	for i in INSTALL.sh.patch ; do
    5.29 -		[ -f $i.done ] && continue
    5.30 -		patch -p0 -i ../stuff/$i
    5.31 -		touch $i.done
    5.32 -	done
    5.33 -	sh INSTALL.sh
    5.34 -	sed -i "s/\/usr\/local/\/usr/" $src/_pkg/usr/bin/childsplay
    5.35 +	sed -i "s|PREFIX = '/usr/local'|PREFIX = '_pkg/usr'|" $src/setup.py
    5.36 +	sed -i \
    5.37 +"s|get_python_lib()|'_pkg', 'usr', 'lib', 'python2.5', 'site-packages'|" \
    5.38 +$src/setup.py
    5.39 +	sed -i "/key/s/raw_input/#raw_input/" $src/setup.py
    5.40 +	python setup.py install --root=$PWD/_pkg
    5.41  }
    5.42  
    5.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.44  genpkg_rules()
    5.45  {
    5.46 -	mkdir -p $fs/usr $fs/usr/share $fs/var
    5.47 +	BASEPATHS="$_pkg/usr/lib/python2.5/site-packages/childsplay_sp/SPBasePaths.py"
    5.48 +
    5.49 +	for file in `find $_pkg | grep 'pyc$'`; do
    5.50 +		rm $file
    5.51 +	done
    5.52 +
    5.53 +	sed -i "s|_pkg/|/|g" $BASEPATHS
    5.54 +
    5.55 +	mkdir -p $fs/usr/share
    5.56  	cp -a $_pkg/usr/bin $fs/usr
    5.57  	cp -a $_pkg/usr/lib $fs/usr
    5.58 -	cp -a $_pkg/usr/share/assetml $fs/usr/share
    5.59 -	cp -a $_pkg/usr/share/childsplay $fs/usr/share
    5.60 -	cp -a $_pkg/var/games $fs/var
    5.61 +	cp -a $_pkg/usr/share/childsplay_sp $fs/usr/share
    5.62 +	cp -a $_pkg/usr/share/sp_alphabetsounds $fs/usr/share
    5.63  
    5.64 -	for lang in de es fr pt; do
    5.65 +	for lang in de en es fr pt; do
    5.66  		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    5.67 -		cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/childsplay.mo \
    5.68 +		cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/childsplay_sp.mo \
    5.69  			$fs/usr/share/locale/$lang/LC_MESSAGES
    5.70  	done
    5.71  }
    5.72 -
    5.73 -# Remove the score file generated and point it to /var/games
    5.74 -post_install ()
    5.75 -{	
    5.76 -	VARDIR="/var/games"
    5.77 -	DATADIR="/usr/share/childsplay/Data"
    5.78 -	SCOREFILE="childsplay.score"
    5.79 -	if [ -f $VARDIR/$SCOREFILE ] 
    5.80 -	then
    5.81 -		rm $DATADIR/$SCOREFILE
    5.82 -		ln -s $VARDIR/$SCOREFILE $DATADIR/$SCOREFILE
    5.83 -	fi
    5.84 -}