I have been a little preoccupied with real-life commitments over the past few days, but I managed to whip up four or five Pkgfiles for the games I mentioned in the last post. The beauty of these ports is that they’re paper-thin — they rely on almost nothing, and take almost no time to install.
With the exception of Bastet, of course. Since it relies on boost, there’s the possibility that you’ll be compiling for hours, with a 20-second burst at the end, when the actual game compiles. Don’t say I didn’t warn you.
All of these, with the exception of Moon-Buggy, were converted from Arch PKGBUILDs. Use at your own risk, of course.
MyMan.
# Description: A Pacman clone with an ncurses and a 'graphic' interface
# URL: http://myman.sourceforge.net/
# Maintainer:
# Depends on: ncurses gcc sed make coreutils
name=myman
version=0.7.0
release=1
source=(http://xent.com/~bsittler/$name-$version.tar.gz)
build ()
{
cd $SRC/$name-$version
./configure prefix=${PKG}/usr
make
make install
mkdir -p $PKG/usr/share/licenses/$name
cp ./LICENSE $PKG/usr/share/licenses/$name/COPYING
rm $PKG/usr/bin/$name-$version
}
Bastet.
# Description: Bastet a simple ncurses-based Tetris(R) clone for Linux.
# URL: http://fph.altervista.org/prog/bastet.html
# Maintainer:
# Depends on: boost ncurses
name=bastet
version=0.43
release=1
source=(http://fph.altervista.org/prog/files/$name-$version.tgz)
build ()
{
cd $name-$version
make
install -D bastet $PKG/usr/bin/bastet
install -D -m 644 bastet.6 $PKG/usr/share/man/man6/bastet.6
}
Greed.
# Description: The strategy game of Greed.
# URL: http://www.catb.org/~esr/greed/
# Maintainer:
# Depends on: ncurses
name=greed
version=3.4
release=3
source=(http://www.catb.org/~esr/$name/$name-$version.tar.gz)
build ()
{
cd $name-$version
make
touch greed.hs
install -m755 -D greed $PKG/usr/bin/greed
install -m766 -D greed.hs $PKG/usr/games/lib/greed.hs
}
nInvaders.
# Description: Ncurses based space invaders clone
# URL: http://ninvaders.sourceforge.net/
# Maintainer: your name <email>
# Depends on: ncurses
name=ninvaders
version=0.1.1
release=2
source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
build ()
{
cd $name-$version
make
install -m755 -D nInvaders $PKG/usr/bin/$name
}
Moon-Buggy.
# Description: Moon-buggy is a game where you drive across the moon's surface.
# URL: http://seehuhn.de/pages/moon-buggy
# Maintainer:
# Packager:
# Depends on: ncurses
name=moon-buggy
version=1.0.51
release=1
source=(http://seehuhn.de/media/programs/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr
make
install -D moon-buggy $PKG/usr/bin/moon-buggy
install -D -m644 moon-buggy.6 $PKG/usr/share/man/man6/moon-buggy.6
}
And a bonus: viTetris, because it was mentioned.
# Description: vitetris is a terminal-based Tetris clone by Victor Nilsson.
# URL: http://victornils.net/tetris/
# Maintainer:
# Packager:
# Depends on: ncurses
name=vitetris
version=0.55
release=1
source=(http://victornils.net/tetris/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr
make
install -oroot -groot -d $PKG/usr/bin $PKG/usr/share/doc/vitetris
install -oroot -groot -m755 tetris $PKG/usr/bin
install -oroot -groot -m644 README licence.txt $PKG/usr/share/doc/vitetris
}
Don’t forget, since this seems to be heavy on the Tetris clones, that there’s a port for Netris in opt. Enjoy.





Recent Comments