# modern-sweeper/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The following command was used: ocgitfetch --run modern-sweeper \ --deletegit \ https://github.com/gBloxy/modern-minesweeper.git #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] configure = none license = See "license*.txt" in installed tree licfile = LICENSE #--------------------------------------------------------------------- [depends] pygame #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin PROGDIR=$PKGDIR_PROD/program mkdir -p $BINDIR $PROGDIR PROGBASE=modern-sweeper sed -e "s/'Minesweeper'/'Modern Sweeper'/" \ -i Minesweeper.py cp -a * $PROGDIR/ cd $PROGDIR/ #--------------------------------------------------------------------- mv Minesweeper.py $PROGBASE.py #--------------------------------------------------------------------- cat > $PROGBASE.sh << END exec python3 $PROGBASE.py END chmod 755 $PROGBASE.sh #--------------------------------------------------------------------- chmod -R a+w $PROGDIR/ chown -R 0.0 $PROGDIR/ #--------------------------------------------------------------------- cd $BINDIR cp -p $PKGDIR_SPECIAL/$PROGBASE.wrapper.in \ $PROGBASE chmod 755 $PROGBASE #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 260504 Added package 260504 Started with 4a5084b7d ("git" hash)