summaryrefslogtreecommitdiff
path: root/pytego/Pkgfile
blob: 1d01440e67db6522410cfc15bb482c939dc52935 (plain)
    1 # Description: stratego for pygame
    2 # URL:         http://members.cox.net/churchillrm/projects.html
    3 # Maintainer:  Han Boetes <han@mijncomputer.nl>
    4 # Packager:    Han Boetes <han@mijncomputer.nl>
    5 # Depends on:  pygame
    6 
    7 name=pytego
    8 version=0.02
    9 release=1
   10 source="http://members.cox.net/churchillrm/$name-$version.tar.gz"
   11 
   12 build()
   13 {
   14     cd $name-$version
   15     install -d $PKG/usr/{bin,games/$name}
   16     cp -r *.py data $PKG/usr/games/$name
   17     # Lets make a wrapper.
   18     cat << EOF > $PKG/usr/bin/$name
   19 #!/bin/sh
   20 cd /usr/games/$name
   21 
   22 python $name.py
   23 EOF
   24     chmod 755 $PKG/usr/bin/$name
   25 }

Generated by cgit