diff options
author | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
commit | d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch) | |
tree | ce5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /games | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'games')
76 files changed, 1546 insertions, 0 deletions
diff --git a/games/bsd_games/bsd-games-2.17-64bit.patch.xz b/games/bsd_games/bsd-games-2.17-64bit.patch.xz Binary files differnew file mode 100644 index 0000000..8d7289b --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-64bit.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-acronymlocation.patch.xz b/games/bsd_games/bsd-games-2.17-acronymlocation.patch.xz Binary files differnew file mode 100644 index 0000000..ecabdb2 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-acronymlocation.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-badntohlcast.patch.xz b/games/bsd_games/bsd-games-2.17-badntohlcast.patch.xz Binary files differnew file mode 100644 index 0000000..8b2fe87 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-badntohlcast.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-config.patch.xz b/games/bsd_games/bsd-games-2.17-config.patch.xz Binary files differnew file mode 100644 index 0000000..e6c83c8 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-config.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-extrafortunes.patch.xz b/games/bsd_games/bsd-games-2.17-extrafortunes.patch.xz Binary files differnew file mode 100644 index 0000000..bcdff39 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-extrafortunes.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-fortunequotetypos20120302.patch.xz b/games/bsd_games/bsd-games-2.17-fortunequotetypos20120302.patch.xz Binary files differnew file mode 100644 index 0000000..f05e124 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-fortunequotetypos20120302.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-gamescreenh.patch.xz b/games/bsd_games/bsd-games-2.17-gamescreenh.patch.xz Binary files differnew file mode 100644 index 0000000..08f6e47 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-gamescreenh.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-gcc4fix.patch.xz b/games/bsd_games/bsd-games-2.17-gcc4fix.patch.xz Binary files differnew file mode 100644 index 0000000..d161156 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-gcc4fix.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-getline.patch.xz b/games/bsd_games/bsd-games-2.17-getline.patch.xz Binary files differnew file mode 100644 index 0000000..5da8bbe --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-getline.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-hangmanwords.patch.xz b/games/bsd_games/bsd-games-2.17-hangmanwords.patch.xz Binary files differnew file mode 100644 index 0000000..2f002e1 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-hangmanwords.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-loginfortune.patch.xz b/games/bsd_games/bsd-games-2.17-loginfortune.patch.xz Binary files differnew file mode 100644 index 0000000..a5bd219 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-loginfortune.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-nullcheck.patch.xz b/games/bsd_games/bsd-games-2.17-nullcheck.patch.xz Binary files differnew file mode 100644 index 0000000..7836214 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-nullcheck.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-numberc.patch.xz b/games/bsd_games/bsd-games-2.17-numberc.patch.xz Binary files differnew file mode 100644 index 0000000..741a592 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-numberc.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-ospeed.patch.xz b/games/bsd_games/bsd-games-2.17-ospeed.patch.xz Binary files differnew file mode 100644 index 0000000..66d1cf0 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-ospeed.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-pom.patch.xz b/games/bsd_games/bsd-games-2.17-pom.patch.xz Binary files differnew file mode 100644 index 0000000..293a9d6 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-pom.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-spelling.patch.xz b/games/bsd_games/bsd-games-2.17-spelling.patch.xz Binary files differnew file mode 100644 index 0000000..362d917 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-spelling.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-stdioh.patch.xz b/games/bsd_games/bsd-games-2.17-stdioh.patch.xz Binary files differnew file mode 100644 index 0000000..45b1c06 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-stdioh.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-strfileman.patch.xz b/games/bsd_games/bsd-games-2.17-strfileman.patch.xz Binary files differnew file mode 100644 index 0000000..9d100bf --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-strfileman.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-tetris.patch.xz b/games/bsd_games/bsd-games-2.17-tetris.patch.xz Binary files differnew file mode 100644 index 0000000..ff8da8f --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-tetris.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-tmpfiles.patch.xz b/games/bsd_games/bsd-games-2.17-tmpfiles.patch.xz Binary files differnew file mode 100644 index 0000000..e76ff77 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-tmpfiles.patch.xz diff --git a/games/bsd_games/bsd-games-2.17-usrbin.patch.xz b/games/bsd_games/bsd-games-2.17-usrbin.patch.xz Binary files differnew file mode 100644 index 0000000..99a6153 --- /dev/null +++ b/games/bsd_games/bsd-games-2.17-usrbin.patch.xz diff --git a/games/bsd_games/bsd_games.build b/games/bsd_games/bsd_games.build new file mode 100755 index 0000000..30bccc7 --- /dev/null +++ b/games/bsd_games/bsd_games.build @@ -0,0 +1,106 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=bsd_games +VERSION=2.17 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: bsd_games (Classic BSD text games collection) +${NAME}: +${NAME}: Contains the following console classics : adventure arithmetic atc +${NAME}: backgammon banner battlestar bcd caesar canfield cfscores countmail +${NAME}: cribbage factor fish fortune gomoku hangman hunt mille monop morse +${NAME}: number phantasia pig pom ppt primes quiz rain random robots rot13 +${NAME}: sail snake snscore teachgammon trek wargames worm worms wump +${NAME}: +${NAME}: Adds a call to 'fortune' to /etc/profile.d/ so that users will get a +${NAME}: fortune message when they log in. +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +for file in \$(find var/lib/bsdgames -type f ); do + config \${file} + rm -f \${file} +done +EOF + +# Sources + +SRCNAME[0]=bsd-games +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://ftp.ibiblio.org/pub/Linux/games/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +build0() +{ +sed -i "s|@PKGDIR@|${PKG}|g" config.params +cp fortune/datfiles/unamerican-o.real fortune/datfiles/unamerican-o.fake +cp fortune/datfiles/unamerican-o.real unamerican-o +./configure +make ${JOBS} +make install +doc AUTHORS BUGS THANKS +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/{profile.d,tmpfiles.d} +install.bin fortune.{sh,csh} ${PKG}${SYS_DIR[etc]}/profile.d +install.dat hunt.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/hunt.conf +install.dir ${PKG}${SYS_DIR[share]}/dict +install.dat hangman-words ${PKG}${SYS_DIR[share]}/dict/words +# Scores etc... +find ${PKG}${SYS_DIR[var]}/lib/bsdgames -type f -exec mv {} {}.new \; +chown -R root.games ${PKG}${SYS_DIR[var]}/lib/bsdgames +chmod 0664 ${PKG}${SYS_DIR[var]}/lib/bsdgames/* +chmod 0664 ${PKG}${SYS_DIR[var]}/lib/bsdgames/{hack,phantasia}/* +chmod 0775 ${PKG}${SYS_DIR[var]}/lib/bsdgames/{hack,phantasia} +#FIXME: this should not go here +#install.dir ${PKG}${SYS_DIR[share]}/application-data/bsdgames/data/hack/save +# Conflicting files +mv ${PKG}${SYS_DIR[bin]}/fish ${PKG}${SYS_DIR[bin]}/go-fish +mv ${PKG}${SYS_DIR[man]}/man6/fish.6 ${PKG}${SYS_DIR[man]}/man6/go-fish.6 +mv ${PKG}${SYS_DIR[man]}/man6/worm.6 ${PKG}${SYS_DIR[man]}/man6/worm-game.6 +# Extra fortunes +rm -f ${PKG}${SYS_DIR[share]}/application-data/bsdgames/fortune/limerick{,.dat} +install.dat extra-fortunes/* ${PKG}${SYS_DIR[share]}/application-data/bsdgames/fortune +( +cd ${PKG}${SYS_DIR[share]}/application-data/bsdgames/fortune +rm -f *.dat +for file in ./*; do + ${PKG}${SYS_DIR[bin]}/strfile -r $(basename ${file} .dat) +done +for file in ./*-o; do + ${PKG}${SYS_DIR[bin]}/strfile -r -x $(basename ${file} .dat) +done +) +# Clean-up +rm -rf \ + ${PKG}/tmp \ + ${PKG}${SYS_DIR[doc]}/trek.me +} diff --git a/games/ctetris/ctetris-0.30-compile.patch.bz2 b/games/ctetris/ctetris-0.30-compile.patch.bz2 Binary files differnew file mode 100644 index 0000000..b477e36 --- /dev/null +++ b/games/ctetris/ctetris-0.30-compile.patch.bz2 diff --git a/games/ctetris/ctetris.SlackBuild b/games/ctetris/ctetris.SlackBuild new file mode 100755 index 0000000..e95a002 --- /dev/null +++ b/games/ctetris/ctetris.SlackBuild @@ -0,0 +1,71 @@ +#!/bin/sh + +CWD=`pwd` +NAME=ctetris +VERSION=0.30 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +REPOSITORY=http:// +FLAGS="-O2 -march=pentium -mcpu=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar jxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-compile.patch.bz2 | patch -p1 -s +make COPTS="$FLAGS" + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +ctetris: ctetris +ctetris: +ctetris: A single player, console (text mode) Tetris game. +ctetris: +ctetris: +ctetris: +ctetris: +ctetris: +ctetris: +ctetris: +ctetris: +EOF + +chmod 444 $PKG/usr/man/man?/*.? +gzip -9nf $PKG/usr/man/man?/*.? + +strip $PKG/usr/games/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/games/dhewm3/dhewm3-20130419-desktop.patch.xz b/games/dhewm3/dhewm3-20130419-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..cbef34e --- /dev/null +++ b/games/dhewm3/dhewm3-20130419-desktop.patch.xz diff --git a/games/dhewm3/dhewm3-20130419-nocdkey.patch.xz b/games/dhewm3/dhewm3-20130419-nocdkey.patch.xz Binary files differnew file mode 100644 index 0000000..e509b12 --- /dev/null +++ b/games/dhewm3/dhewm3-20130419-nocdkey.patch.xz diff --git a/games/dhewm3/dhewm3.build b/games/dhewm3/dhewm3.build new file mode 100755 index 0000000..534cc70 --- /dev/null +++ b/games/dhewm3/dhewm3.build @@ -0,0 +1,63 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=dhewm3 +VERSION=20130419 +BUILD=1 +DEPENDS=('sdl >= 2.0.15-1' 'libopenal >= 1.15.1-1' 'libvorbis >= 1.3.3-1' 'libjpeg >= 1.2.1-1' 'curl >= 7.29.0-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: dhewm3 +${NAME}: +${NAME}: A Doom 3 source modification. +${NAME}: +${NAME}: Homepage: http://github.com/dhewm/dhewm3 +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3" + +build0() +{ +( +cd neo +cmake \ +-DCMAKE_BUILD_TYPE:STRING="Release" \ +-DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \ +-DCMAKE_C_FLAGS:STRING="${FLAGS}" \ +-DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ +-DCMAKE_INSTALL_PREFIX:PATH="${SYS_DIR[usr]}" \ +-DCMAKE_INSTALL_BINDIR:PATH="${SYS_DIR[bin]}" \ +-DCMAKE_INSTALL_LIBDIR:PATH="${SYS_DIR[lib]}/plugins" \ +-DCMAKE_INSTALL_DATAROOTDIR:PATH="${SYS_DIR[share]}/application-data" \ +CMakeLists.txt +make ${JOBS} +make install DESTDIR="${PKG}" +) +doc README.md +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat dhewm3.desktop ${PKG}${SYS_DIR[share]}/applications +} diff --git a/games/flare/flare.build b/games/flare/flare.build new file mode 100755 index 0000000..2e2206e --- /dev/null +++ b/games/flare/flare.build @@ -0,0 +1,61 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=flare +VERSION=0.19 +BUILD=2 +DEPENDS=('sdl >= 1.2.15-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: flare (hack and slash game) +${NAME}: +${NAME}: An single player 2D action role playing game. +${NAME}: +${NAME}: Homepage: http://flarerpg.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/flare-game/Linux/${SRCNAME[0]}.${SRCVERS[0]}.tar.gz +SRCROOT[0]="${SRCNAME[0]}.${SRCVERS[0]}" +SRCCOPY[0]="GPL3" + +build0() +{ +cmake \ + -DCMAKE_BUILD_TYPE:STRING="Release" \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ + -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_INSTALL_PREFIX:STRING="/usr" \ + -DDATADIR:STRING="share/application-data/flare" \ + -DBINDIR:STRING="bin" \ +. +make ${JOBS} +make install DESTDIR="${PKG}" +sed 's|@FLARE_EXECUTABLE_PATH@|flare|g' distribution/flare.desktop.in > flare.desktop +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat flare.desktop ${PKG}${SYS_DIR[share]}/applications +install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/scalable/apps +install.dat distribution/flare_logo.svg ${PKG}${SYS_DIR[share]}/icons/hicolor/scalable/apps/flare.svg +} diff --git a/games/freedoom/freedoom-iwad-0.8-beta1-desktop.patch.xz b/games/freedoom/freedoom-iwad-0.8-beta1-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..f74aabf --- /dev/null +++ b/games/freedoom/freedoom-iwad-0.8-beta1-desktop.patch.xz diff --git a/games/freedoom/freedoom.build b/games/freedoom/freedoom.build new file mode 100755 index 0000000..45c2b9f --- /dev/null +++ b/games/freedoom/freedoom.build @@ -0,0 +1,85 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=freedoom +VERSION=0.8beta1 +BUILD=1 +DEPENDS=('sdl >= 1.2.15-1' 'pcre >= 8.32-1' 'libmad >= 0.15.1b-1' 'libvorbis >= 1.3.3-1' 'libpng >= 1.5.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: FreeDOOM +${NAME}: +${NAME}: The Freedoom project aims to create a complete Doom-based game which +${NAME}: is free software. +${NAME}: +${NAME}: This package also includes PrBoom+ which is the culmination of years +${NAME}: of work by various people and projects on the Doom source code. +${NAME}: +${NAME}: Freedoom homepage: http://freedoom.sourceforge.net +${NAME}: PrBoom+ homepage: http://prboom-plus.sourceforge.net +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME}-iwad +SRCVERS[0]=0.8-beta1 +SRCPACK[0]=http://download.savannah.gnu.org/releases/freedoom/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.zip +SRCCOPY[0]="BSD3" + +build0() +{ +doc CREDITS +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[share]}/application-data/freedoom +install.dat doom2.wad ${PKG}${SYS_DIR[share]}/application-data/freedoom +install.dir ${PKG}${SYS_DIR[share]}/{applications,icons/hicolor/48x48/apps} +install.dat freedoom.desktop ${PKG}${SYS_DIR[share]}/applications +install.dat freedoom.png ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps +} + +SRCNAME[1]=prboom-plus +SRCVERS[1]=2.5.1.3 +SRCPACK[1]=${URL[sf]}/${SRCNAME[1]}/${SRCNAME[1]}/${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[0]="GPL2" + +build1() +{ +CPPFLAGS="-I${SYS_DIR[include]}/mad" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-waddir="${SYS_DIR[share]}/application-data/prboom-plus" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dir ${PKG}${SYS_DIR[share]}/application-data/prboom-plus +( + cd ${PKG}${SYS_DIR[share]}/application-data/prboom-plus + ln -s ${SYS_DIR[share]}/application-data/freedoom/doom2.wad +) +rm -rf ${PKG}${SYS_DIR[doc]}/prboom-plus +} diff --git a/games/freedoom/prboom-plus-2.5.1.3-autostuff.patch.xz b/games/freedoom/prboom-plus-2.5.1.3-autostuff.patch.xz Binary files differnew file mode 100644 index 0000000..9aaea92 --- /dev/null +++ b/games/freedoom/prboom-plus-2.5.1.3-autostuff.patch.xz diff --git a/games/freedoom/prboom-plus-2.5.1.3-dirlayout.patch.xz b/games/freedoom/prboom-plus-2.5.1.3-dirlayout.patch.xz Binary files differnew file mode 100644 index 0000000..670b631 --- /dev/null +++ b/games/freedoom/prboom-plus-2.5.1.3-dirlayout.patch.xz diff --git a/games/freedoom/prboom-plus-2.5.1.3-docdir.patch.xz b/games/freedoom/prboom-plus-2.5.1.3-docdir.patch.xz Binary files differnew file mode 100644 index 0000000..c586f56 --- /dev/null +++ b/games/freedoom/prboom-plus-2.5.1.3-docdir.patch.xz diff --git a/games/lbreakout2/lbreakout2-2.6.4-desktop.patch.xz b/games/lbreakout2/lbreakout2-2.6.4-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..406342d --- /dev/null +++ b/games/lbreakout2/lbreakout2-2.6.4-desktop.patch.xz diff --git a/games/lbreakout2/lbreakout2.build b/games/lbreakout2/lbreakout2.build new file mode 100755 index 0000000..413a8d2 --- /dev/null +++ b/games/lbreakout2/lbreakout2.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=lbreakout2 +MAJOR=2.6 +VERSION=${MAJOR}.4 +BUILD=1 +DEPENDS=('sdl >= 1.2.15-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: lbreakout2 (arcade game) +${NAME}: +${NAME}: A game in which a ball bounces around and the player must use the +${NAME}: paddle to keep it in the game. When all bricks are destroyed, the +${NAME}: next level unlocks. +${NAME}: +${NAME}: Homepage: http://lgames.sourceforge.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/lgames/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var/lib/games \ + --with-docdir="${SYS_DIR[html]}" \ + --enable-sdl-net +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +rm -rf ${PKG}/usr/share/icons +install.dir ${PKG}/usr/share/icons/hicolor/48x48/apps +install.dat lbreakout2.png ${PKG}/usr/share/icons/hicolor/48x48/apps +} diff --git a/games/lgeneral/lgeneral-1.2.3-desktop.patch.xz b/games/lgeneral/lgeneral-1.2.3-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..494e5a8 --- /dev/null +++ b/games/lgeneral/lgeneral-1.2.3-desktop.patch.xz diff --git a/games/lgeneral/lgeneral-1.2.3-nobullshit.patch.xz b/games/lgeneral/lgeneral-1.2.3-nobullshit.patch.xz Binary files differnew file mode 100644 index 0000000..bdb5d4b --- /dev/null +++ b/games/lgeneral/lgeneral-1.2.3-nobullshit.patch.xz diff --git a/games/lgeneral/lgeneral.build b/games/lgeneral/lgeneral.build new file mode 100755 index 0000000..4e7e4ac --- /dev/null +++ b/games/lgeneral/lgeneral.build @@ -0,0 +1,73 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=lgeneral +VERSION=1.2.3 +BUILD=1 +DEPENDS=('sdl >= 1.2.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: lgeneral (strategy game) +${NAME}: +${NAME}: A reimplementation of the Panzer General engine. +${NAME}: +${NAME}: Homepage: http://lgames.sf.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/lgames/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var/lib/games +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +rm -rf ${PKG}/usr/share/icons +install.dir ${PKG}/usr/share/icons/hicolor/{16x16,32x32,48x48}/apps +install.dat lgeneral16.png ${PKG}/usr/share/icons/hicolor/16x16/apps/lgeneral.png +install.dat lgeneral32.png ${PKG}/usr/share/icons/hicolor/32x32/apps/lgeneral.png +install.dat lgeneral48.png ${PKG}/usr/share/icons/hicolor/48x48/apps/lgeneral.png +} + +SRCNAME[1]=pg +SRCVERS[1]=data +SRCPACK[1]=${URL[sf]}/lgames/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz + +build1() +{ +${PKG}/usr/bin/lgc-pg -s . -d ${PKG}/usr/share/games/lgeneral +} diff --git a/games/lmarbles/lmarbles-1.0.8-desktop.patch.xz b/games/lmarbles/lmarbles-1.0.8-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..40e171e --- /dev/null +++ b/games/lmarbles/lmarbles-1.0.8-desktop.patch.xz diff --git a/games/lmarbles/lmarbles.build b/games/lmarbles/lmarbles.build new file mode 100755 index 0000000..6cc5bbf --- /dev/null +++ b/games/lmarbles/lmarbles.build @@ -0,0 +1,67 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=lmarbles +VERSION=1.0.8 +BUILD=1 +DEPENDS=('sdl >= 1.2.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: lmarbles +${NAME}: +${NAME}: Lmarbles is very similar to Atomix and was inspired by it. The goal +${NAME}: is to create a more or less complex figure out of single marbles +${NAME}: within a time limit to reach to the next level. Sounds easy? Well, +${NAME}: there is a problem: If a marble starts to move, it will not stop +${NAME}: until it hits a wall or another marble. +${NAME}: +${NAME}: Homepage: http://lgames.sf.net +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/lgames/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var/lib/games +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +rm -rf ${PKG}/usr/share/icons +install.dir ${PKG}/usr/share/icons/hicolor/48x48/apps +install.dat lmarbles.png ${PKG}/usr/share/icons/hicolor/48x48/apps +install.dir ${PKG}/usr/share/html +mv src/manual ${PKG}/usr/share/html/lmarbles +chown root.games ${PKG}/var/lib/games/lmarbles.prfs +chmod 660 ${PKG}/var/lib/games/lmarbles.prfs +} diff --git a/games/lpairs/lpairs-1.0.4-desktop.patch.xz b/games/lpairs/lpairs-1.0.4-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..9367cc1 --- /dev/null +++ b/games/lpairs/lpairs-1.0.4-desktop.patch.xz diff --git a/games/lpairs/lpairs.build b/games/lpairs/lpairs.build new file mode 100755 index 0000000..3e64668 --- /dev/null +++ b/games/lpairs/lpairs.build @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=lpairs +VERSION=1.0.4 +BUILD=1 +DEPENDS=('sdl >= 1.2.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: lpairs +${NAME}: +${NAME}: Lpairs is a classic memory game for Linux. There is also sound +${NAME}: support. This is great for kids, but also for adults that have some +${NAME}: spare time... +${NAME}: +${NAME}: Homepage: http://lgames.sf.net/index.php?project=LPairs +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/lgames/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var +make -j 2 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +mkdir -p ${PKG}/usr/share/{applications,icons/hicolor/48x48/apps} +install -m 0644 lpairs.png \ + ${PKG}/usr/share/icons/hicolor/48x48/apps +install -m 0644 lpairs.desktop \ + ${PKG}/usr/share/applications +} diff --git a/games/ltris/ltris-1.0.18-desktopfile.patch.xz b/games/ltris/ltris-1.0.18-desktopfile.patch.xz Binary files differnew file mode 100644 index 0000000..032f667 --- /dev/null +++ b/games/ltris/ltris-1.0.18-desktopfile.patch.xz diff --git a/games/ltris/ltris-1.0.18-nogif.patch.xz b/games/ltris/ltris-1.0.18-nogif.patch.xz Binary files differnew file mode 100644 index 0000000..2143e2c --- /dev/null +++ b/games/ltris/ltris-1.0.18-nogif.patch.xz diff --git a/games/ltris/ltris.build b/games/ltris/ltris.build new file mode 100755 index 0000000..bb4316b --- /dev/null +++ b/games/ltris/ltris.build @@ -0,0 +1,75 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=ltris +VERSION=1.0.18 +BUILD=1 +DEPENDS=('sdl >= 1.2.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: ltris (tetris game) +${NAME}: +${NAME}: Stack the figures so that they don't reach the top of the screen by +${NAME}: making horizontal lines. +${NAME}: +${NAME}: Homepage: http://lgames.sf.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/lgames/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var/lib/games +make -j 2 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +chown root.games ${PKG}/var/lib/games/ltris.hscr +chmod 0660 ${PKG}/var/lib/games/ltris.hscr +rm -f \ + ${PKG}/usr/share/icons/*.gif +} + +SRCNAME[1]=${NAME} +SRCVERS[1]=desktop +SRCPACK[1]=${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCOPTS[1]="pkgunpack" + +build1() +{ +echo "Nothing to do here!" +} diff --git a/games/mindless/mindless-1.6-copts.patch.xz b/games/mindless/mindless-1.6-copts.patch.xz Binary files differnew file mode 100644 index 0000000..cb67e64 --- /dev/null +++ b/games/mindless/mindless-1.6-copts.patch.xz diff --git a/games/mindless/mindless-1.6-desktop.patch.xz b/games/mindless/mindless-1.6-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..51b4eef --- /dev/null +++ b/games/mindless/mindless-1.6-desktop.patch.xz diff --git a/games/mindless/mindless.build b/games/mindless/mindless.build new file mode 100755 index 0000000..f13d33e --- /dev/null +++ b/games/mindless/mindless.build @@ -0,0 +1,54 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=mindless +VERSION=1.6 +BUILD=2 +DEPENDS=('gtk+ >= 2.24.17-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: mindless (Mindless Automaton) +${NAME}: +${NAME}: A virtual tabletop on which you can play card games against other +${NAME}: people over a network. It was designed to simulate the Magic: The +${NAME}: Gathering(R) game. But it can be expanded to simulate other games. +${NAME}: Mindless Automaton was very, very inspired by the popular Windows +${NAME}: program Apprentice (and is compatible with it). +${NAME}: +${NAME}: Homepage: http://mindless.sourceforge.net +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/mindless/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} COPTS="${FLAGS}" +#make install DESTDIR="${PKG}" +changelog CHANGES +install.dir ${PKG}${SYS_DIR[bin]} +install.bin mindless ${PKG}${SYS_DIR[bin]} +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat mindless.desktop ${PKG}${SYS_DIR[share]}/applications +install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps +install.dat mindless.png ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps +} diff --git a/games/nibbles/nibbles-1.2-compile.patch.bz2 b/games/nibbles/nibbles-1.2-compile.patch.bz2 Binary files differnew file mode 100644 index 0000000..46ec0ba --- /dev/null +++ b/games/nibbles/nibbles-1.2-compile.patch.bz2 diff --git a/games/nibbles/nibbles.SlackBuild b/games/nibbles/nibbles.SlackBuild new file mode 100755 index 0000000..deafd02 --- /dev/null +++ b/games/nibbles/nibbles.SlackBuild @@ -0,0 +1,72 @@ +#!/bin/sh + +CWD=`pwd` +NAME=nibbles +VERSION=1.2 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +REPOSITORY=http:// +FLAGS="-O2 -march=pentium -mcpu=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar jxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-compile.patch.bz2 | patch -p1 -s +make COPTS="$FLAGS" + +# Install +mkdir -p $PKG/install $PKG/usr/games $PKG/usr/man/man6 +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +nibbles: nibbles +nibbles: +nibbles: Nibbles is a console arcade game in which the player controls a worm +nibbles: which is always in motion and whose size increases each time it eats +nibbles: an apple. Each time the worm eats an apple, one point is scored. If +nibbles: the worm runs into the edge of the screen or runs into itself then +nibbles: the game is lost. +nibbles: +nibbles: +nibbles: +nibbles: +EOF + +install -m0755 nibbles $PKG/usr/games +install -m0444 nibbles.6 $PKG/usr/man/man6 + +gzip -9nf $PKG/usr/man/man?/*.? + +strip $PKG/usr/games/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/games/quake2/quake2-5.10-desktopfile.patch.xz b/games/quake2/quake2-5.10-desktopfile.patch.xz Binary files differnew file mode 100644 index 0000000..2e415c1 --- /dev/null +++ b/games/quake2/quake2-5.10-desktopfile.patch.xz diff --git a/games/quake2/quake2-5.10-optflags.patch.xz b/games/quake2/quake2-5.10-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..eebf99b --- /dev/null +++ b/games/quake2/quake2-5.10-optflags.patch.xz diff --git a/games/quake2/quake2-5.10-systemdirvid.patch.xz b/games/quake2/quake2-5.10-systemdirvid.patch.xz Binary files differnew file mode 100644 index 0000000..79984a5 --- /dev/null +++ b/games/quake2/quake2-5.10-systemdirvid.patch.xz diff --git a/games/quake2/quake2-ctf-1.02-desktopfile.patch.xz b/games/quake2/quake2-ctf-1.02-desktopfile.patch.xz Binary files differnew file mode 100644 index 0000000..295e625 --- /dev/null +++ b/games/quake2/quake2-ctf-1.02-desktopfile.patch.xz diff --git a/games/quake2/quake2-ctf-1.02-optflags.patch.xz b/games/quake2/quake2-ctf-1.02-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..5e3c869 --- /dev/null +++ b/games/quake2/quake2-ctf-1.02-optflags.patch.xz diff --git a/games/quake2/quake2-rogue-1.07-desktopfile.patch.xz b/games/quake2/quake2-rogue-1.07-desktopfile.patch.xz Binary files differnew file mode 100644 index 0000000..7b082ff --- /dev/null +++ b/games/quake2/quake2-rogue-1.07-desktopfile.patch.xz diff --git a/games/quake2/quake2-rogue-1.07-optflags.patch.xz b/games/quake2/quake2-rogue-1.07-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..ee9c420 --- /dev/null +++ b/games/quake2/quake2-rogue-1.07-optflags.patch.xz diff --git a/games/quake2/quake2-xatrix-1.09-desktopfile.patch.xz b/games/quake2/quake2-xatrix-1.09-desktopfile.patch.xz Binary files differnew file mode 100644 index 0000000..116672f --- /dev/null +++ b/games/quake2/quake2-xatrix-1.09-desktopfile.patch.xz diff --git a/games/quake2/quake2-xatrix-1.09-optflags.patch.xz b/games/quake2/quake2-xatrix-1.09-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..9aef994 --- /dev/null +++ b/games/quake2/quake2-xatrix-1.09-optflags.patch.xz diff --git a/games/quake2/quake2.build b/games/quake2/quake2.build new file mode 100755 index 0000000..9805355 --- /dev/null +++ b/games/quake2/quake2.build @@ -0,0 +1,109 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=quake2 +VERSION=5.10 +BUILD=2 +DEPENDS=('sdl >= 1.2.15-1' 'sound >= 1.0.26-1' 'libvorbis >= 1.3.3-1' 'libopenal >= 1.15.1-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: quake2 +${NAME}: +${NAME}: Yamagi Quake II is an enhanced client for id Software's Quake II. The +${NAME}: main focus is an unchanged single player experience like back in +${NAME}: 1997, thus the gameplay and the graphics are unaltered. Over 1000 +${NAME}: bugs were fixed and an extensive code audit was done, making Yamagi +${NAME}: Quake II one of the most solid Quake II implementations available. +${NAME}: +${NAME}: Homepage: http://www.yamagi.org/quake2 +${NAME}: +${NAME}: +EOF + +QLIBDIR="${SYS_DIR[lib]}/plugins/quake2" + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://deponie.yamagi.org/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +make ${JOBS} VERBOSE=1 \ +OPTS="${FLAGS} -DSYSTEMWIDE -DSYSTEMDIR=\\\"${QLIBDIR}\\\"" +doc README +changelog CHANGELOG +license LICENSE +install.dir ${PKG}${SYS_DIR[bin]} +install.bin release/quake2 ${PKG}${SYS_DIR[bin]} +install.bin release/q2ded ${PKG}${SYS_DIR[bin]} +install.dir ${PKG}${QLIBDIR}/baseq2 +install.bin release/ref_gl.so ${PKG}${QLIBDIR} +install.bin release/baseq2/game.so ${PKG}${QLIBDIR}/baseq2 +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat quake2.desktop ${PKG}${SYS_DIR[share]}/applications +#install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps +#install.dat icon/Quake2.png ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps/quake2.png +} + +SRCNAME[1]=${NAME}-rogue +SRCVERS[1]=1.07 +SRCPACK[1]=http://deponie.yamagi.org/${SRCNAME[0]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz + +build1() +{ +make ${JOBS} VERBOSE=1 OPTS="${FLAGS}" +doc README +changelog CHANGELOG +license LICENSE +install.dir ${PKG}${QLIBDIR}/rogue +install.bin release/game.so ${PKG}${QLIBDIR}/rogue +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat quake2-rogue.desktop ${PKG}${SYS_DIR[share]}/applications +} + +SRCNAME[2]=${NAME}-xatrix +SRCVERS[2]=1.09 +SRCPACK[2]=http://deponie.yamagi.org/${SRCNAME[0]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz + +build2() +{ +make ${JOBS} VERBOSE=1 OPTS="${FLAGS}" +doc README +changelog CHANGELOG +license LICENSE +install.dir ${PKG}${QLIBDIR}/xatrix +install.bin release/game.so ${PKG}${QLIBDIR}/xatrix +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat quake2-xatrix.desktop ${PKG}${SYS_DIR[share]}/applications +} + +SRCNAME[3]=${NAME}-ctf +SRCVERS[3]=1.02 +SRCPACK[3]=http://deponie.yamagi.org/${SRCNAME[0]}/${SRCNAME[3]}-${SRCVERS[3]}.tar.xz + +build3() +{ +make ${JOBS} VERBOSE=1 OPTS="${FLAGS}" +doc README +changelog CHANGELOG +license LICENSE +install.dir ${PKG}${QLIBDIR}/ctf +install.bin release/game.so ${PKG}${QLIBDIR}/ctf +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat quake2-ctf.desktop ${PKG}${SYS_DIR[share]}/applications +} diff --git a/games/quakeforge/quakeforge-20101025-icon.patch.xz b/games/quakeforge/quakeforge-20101025-icon.patch.xz Binary files differnew file mode 100644 index 0000000..2e436a4 --- /dev/null +++ b/games/quakeforge/quakeforge-20101025-icon.patch.xz diff --git a/games/quakeforge/quakeforge-20101025-samplerate.patch.xz b/games/quakeforge/quakeforge-20101025-samplerate.patch.xz Binary files differnew file mode 100644 index 0000000..cfbab33 --- /dev/null +++ b/games/quakeforge/quakeforge-20101025-samplerate.patch.xz diff --git a/games/quakeforge/quakeforge-rev11804-desktopfiles.patch.xz b/games/quakeforge/quakeforge-rev11804-desktopfiles.patch.xz Binary files differnew file mode 100644 index 0000000..9c16357 --- /dev/null +++ b/games/quakeforge/quakeforge-rev11804-desktopfiles.patch.xz diff --git a/games/quakeforge/quakeforge.SlackBuild b/games/quakeforge/quakeforge.SlackBuild new file mode 100755 index 0000000..030d829 --- /dev/null +++ b/games/quakeforge/quakeforge.SlackBuild @@ -0,0 +1,119 @@ +#!/bin/sh + +CWD=`pwd` +NAME=quakeforge +VERSION=20101025 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.xz +REPOSITORY=http://some/where +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar Jxvf $CWD/$ARCHIVE +cd $BASEDIR +xzcat $CWD/$NAME-$VERSION-icon.patch.xz | patch -p1 -s +xzcat $CWD/$NAME-$VERSION-samplerate.patch.xz | patch -p1 -s +#./bootstrap +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --build=${ARCH}-slackware-linux \ + --enable-shared=yes \ + --enable-static=no \ + --disable-Werror \ + --disable-debug \ + --prefix=/usr \ + --mandir=/usr/man \ + --sysconfdir=/etc/conf.d \ + --localstatedir=/var \ + --with-global-cfg=/etc/conf.d/quakeforge.conf \ + --with-sharepath=/usr/share/application-data/quake \ + --with-userpath=~/.local/share/quake \ + --with-plugin-path=/usr/libexec/quakeforge \ + --disable-xmms \ + --disable-oss \ + --disable-dga \ + --enable-xdg \ + --with-clients="sgl,glx" +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/share/applications \ + $PKG/usr/share/pixmaps +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +quakeforge: quakeforge (Quake engine) +quakeforge: +quakeforge: An enhanced Quake engine. +quakeforge: +quakeforge: +quakeforge: +quakeforge: +quakeforge: +quakeforge: +quakeforge: +quakeforge: +EOF + +cat > $PKG/install/slack-required <<EOF +sdl >= 1.2.14-i486-1 +alsa_libs >= 1.0.23-i486-1 +EOF + +uudecode quake.uu +install -m 0644 -g 0 -o 0 quake.png \ + $PKG/usr/share/pixmaps + +install -m 0644 -g 0 -o 0 NEWS \ + $PKG/usr/doc/$NAME-$VERSION + +xz -9f \ + $PKG/usr/doc/$NAME-$VERSION/NEWS + +chmod 0444 $PKG/usr/man/man?/*.? +xz -9f $PKG/usr/man/man?/*.? + +rm -f \ + $PKG/usr/lib/*.la \ + $PKG/usr/libexec/*/*.la \ + $PKG/usr/libexec/*/*/*.la + +strip --strip-unneeded \ + $PKG/usr/lib/*.so* \ + $PKG/usr/libexec/*/*.so* \ + $PKG/usr/libexec/*/*/*.so* || : + +strip \ + $PKG/usr/bin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.txz diff --git a/games/scummvm/scummvm.build b/games/scummvm/scummvm.build new file mode 100755 index 0000000..e914c3e --- /dev/null +++ b/games/scummvm/scummvm.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=scummvm +VERSION=1.5.0 +BUILD=1 +DEPENDS=('sdl >= 1.2.15-1' 'freetype >= 2.4.11-1' 'libmad >= 0.15.1b-1' 'libvorbis >= 1.3.3-1' 'flac >= 1.2.1-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: scummvm +${NAME}: +${NAME}: A program which allows to run certain classic graphical +${NAME}: point-and-click adventure games, provided you already have their data +${NAME}: files. The clever part about this: ScummVM just replaces the +${NAME}: executables shipped with the games, allowing you to play them on +${NAME}: systems for which they were never designed! +${NAME}: +${NAME}: Homepage: http://www.scummvm.org +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/scummvm/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2 LGPL21 BSD3" + +build0() +{ +CPPFLAGS="-I${SYS_DIR[include]}/mad" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --enable-verbose-build \ + --enable-release-mode \ + --default-dynamic \ + --disable-debug \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[0]}-${SRCVERS[0]}" \ + --libdir="${SYS_DIR[lib]}/plugins" \ + --datadir="${SYS_DIR[share]}/application-data/${SRCNAME[0]}" \ + --backend=sdl \ + --enable-plugins \ + --enable-all-engines +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +chmod 0755 ${PKG}${SYS_DIR[lib]}/plugins/scummvm/*.so +} diff --git a/games/tetrix/tetrix-2.3-makefile.patch.xz b/games/tetrix/tetrix-2.3-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..a7c8972 --- /dev/null +++ b/games/tetrix/tetrix-2.3-makefile.patch.xz diff --git a/games/tetrix/tetrix.build b/games/tetrix/tetrix.build new file mode 100755 index 0000000..e8fb08e --- /dev/null +++ b/games/tetrix/tetrix.build @@ -0,0 +1,47 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=tetrix +VERSION=2.3 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: tetrix +${NAME}: +${NAME}: A console version of Tetris. +${NAME}: +${NAME}: Tetrix was written by Quentin Neill and Eric S. Raymond. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://catb.org/~esr/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} OPTS="${FLAGS}" +make install DESTDIR="${PKG}" MANDIR="${SYS_DIR[man]}" +doc README +} diff --git a/games/vor/vor-0.5.5-desktop.patch.xz b/games/vor/vor-0.5.5-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..a3e2ca2 --- /dev/null +++ b/games/vor/vor-0.5.5-desktop.patch.xz diff --git a/games/vor/vor.build b/games/vor/vor.build new file mode 100755 index 0000000..0650bb7 --- /dev/null +++ b/games/vor/vor.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=vor +VERSION=0.5.5 +BUILD=2 +DEPENDS=('sdl >= 1.2.15-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: vor (Variations on Rockdodger) +${NAME}: +${NAME}: Dodge the asteroids with your spacecraft. +${NAME}: +${NAME}: Homepage: http://jasonwoof.org/vor +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://qualdan.com/vor/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +LDFLAGS="-lm" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --datadir="${SYS_DIR[share]}/application-data" +make ${JOBS} +make install DESTDIR="${PKG}" +doc README +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat vor.desktop ${PKG}${SYS_DIR[share]}/applications +install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps +install.dat vor.png ${PKG}${SYS_DIR[share]}/icons/hicolor/48x48/apps +} diff --git a/games/xfishtank/xfishtank-2.2-debian23.patch.bz2 b/games/xfishtank/xfishtank-2.2-debian23.patch.bz2 Binary files differnew file mode 100644 index 0000000..c30f4a4 --- /dev/null +++ b/games/xfishtank/xfishtank-2.2-debian23.patch.bz2 diff --git a/games/xfishtank/xfishtank-2.2-imake.patch.bz2 b/games/xfishtank/xfishtank-2.2-imake.patch.bz2 Binary files differnew file mode 100644 index 0000000..0c20944 --- /dev/null +++ b/games/xfishtank/xfishtank-2.2-imake.patch.bz2 diff --git a/games/xfishtank/xfishtank.SlackBuild b/games/xfishtank/xfishtank.SlackBuild new file mode 100755 index 0000000..003e56f --- /dev/null +++ b/games/xfishtank/xfishtank.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +CWD=`pwd` +NAME=xfishtank +VERSION=2.2 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER.orig +ARCHIVE=$PKGNAME-$PKGVER.tar.gz +REPOSITORY=ftp://ftp.uni-koeln.de/windows/xcontrib +FLAGS="-O2 -march=pentium -mcpu=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-debian23.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-imake.patch.bz2 | patch -p1 -s +xmkmf -a +make OPT="$FLAGS" + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/X11R6/man/man6 \ + $PKG/usr/X11R6/bin +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +xfishtank: xfishtank +xfishtank: +xfishtank: Xfishtank displays a virtual aquarium on your X root window. There +xfishtank: are many sorts of fish swimming happily among bubbles. A great way to +xfishtank: relax while you are messing with your computer. Furthermore the fish +xfishtank: require very little maintenance and feeding. +xfishtank: +xfishtank: +xfishtank: +xfishtank: +xfishtank: +EOF + +cat > $PKG/install/slack-required <<EOF +x11 >= 6.8.1-486-1 +EOF + +install -m644 -g0 -o0 README README.Linux README.TrueColor \ + $PKG/usr/doc/$NAME-$VERSION + +install -m444 -g0 -o0 xfishtank.1x $PKG/usr/X11R6/man/man6/xfishtank.6x + +install -m755 -g0 -o0 xfishtank $PKG/usr/X11R6/bin + +gzip -9nf $PKG/usr/X11R6/man/man?/*.?x + +strip $PKG/usr/X11R6/bin/* || : + +chown -R root.root $PKG +chgrp bin $PKG/usr/X11R6/bin $PKG/usr/X11R6/bin/* + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/games/xmountains/xmountains-2.7-imake.patch.bz2 b/games/xmountains/xmountains-2.7-imake.patch.bz2 Binary files differnew file mode 100644 index 0000000..4a821c7 --- /dev/null +++ b/games/xmountains/xmountains-2.7-imake.patch.bz2 diff --git a/games/xmountains/xmountains.SlackBuild b/games/xmountains/xmountains.SlackBuild new file mode 100755 index 0000000..ea42a34 --- /dev/null +++ b/games/xmountains/xmountains.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/sh + +CWD=`pwd` +NAME=xmountains +VERSION=2.7 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE="$PKGNAME"_"$PKGVER".tar.gz +REPOSITORY=http://www.epcc.ed.ac.uk/~spb/xmountains +FLAGS="-O2 -march=pentium -mcpu=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +mkdir $BASEDIR +cd $BASEDIR +tar zxvf $CWD/$ARCHIVE +bzcat $CWD/$NAME-$VERSION-imake.patch.bz2 | patch -p1 -s +xmkmf -a +make OPT="$FLAGS" + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/X11R6/man/man6 \ + $PKG/usr/X11R6/bin +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +xmountains: xmountains +xmountains: +xmountains: Xmountains is a fractal landscape generator for X. In other words it +xmountains: draws mountains in a random manner. The generated mountains +xmountains: continuously extend to the right. It can make a nice screensaver or +xmountains: also an active background for your desktop. +xmountains: +xmountains: +xmountains: +xmountains: +xmountains: +EOF + +cat > $PKG/install/slack-required <<EOF +xfree86 >= 4.3.0-486-5 +EOF + +install -m644 -g0 -o0 README $PKG/usr/doc/$NAME-$VERSION + +install -m444 -g0 -o0 xmountains.man $PKG/usr/X11R6/man/man6/xmountains.6x + +install -m755 -g0 -o0 xmountains $PKG/usr/X11R6/bin + +gzip -9nf $PKG/usr/X11R6/man/man?/*.?x + +strip $PKG/usr/X11R6/bin/* || : + +chown -R root.root $PKG +chgrp bin $PKG/usr/X11R6/bin $PKG/usr/X11R6/bin/* + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/games/xpenguins/xpenguins-2.2-icon.patch.bz2 b/games/xpenguins/xpenguins-2.2-icon.patch.bz2 Binary files differnew file mode 100644 index 0000000..decb626 --- /dev/null +++ b/games/xpenguins/xpenguins-2.2-icon.patch.bz2 diff --git a/games/xpenguins/xpenguins.SlackBuild b/games/xpenguins/xpenguins.SlackBuild new file mode 100755 index 0000000..105cc7d --- /dev/null +++ b/games/xpenguins/xpenguins.SlackBuild @@ -0,0 +1,119 @@ +#!/bin/sh + +CWD=`pwd` +NAME=xpenguins +VERSION=2.2 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +THEMES="$NAME"_themes-1.0.tar.gz +REPOSITORY=http://xpenguins.seul.org +FLAGS="-O2 -march=pentium -mcpu=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi +if [ ! -e $THEMES ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-icon.patch.bz2 | patch -p1 -s +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure --prefix=/usr \ + --bindir=/usr/X11R6/bin --mandir=/usr/X11R6/man --datadir=/usr/share/games +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/etc/X11/icons \ + $PKG/etc/X11/apps/Games/Desktop +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +xpenguins: xpenguins +xpenguins: +xpenguins: Xpenguins makes little penguins invade your X screen. They fly, run +xpenguins: on your windows and do all sorts of weird things. If you have some +xpenguins: spare time, this can be what you are looking for, but you can also +xpenguins: amaze your friends with this wonder. If somehow you don't like +xpenguins: penguins, there are other themes included in this package. +xpenguins: +xpenguins: +xpenguins: +xpenguins: +EOF + +cat > $PKG/install/slack-required <<EOF +x11 >= 6.8.1-i486-1 +EOF + +cat > $PKG/etc/X11/apps/Games/Desktop/Xpenguins.desktop <<EOF +[Desktop Entry] + +Encoding=UTF-8 +Name=X Penguins +GenericName=Penguins +GenericName[fr]=Pingouins +Type=Application +Exec=xpenguins +Icon=/etc/X11/icons/Xpenguins.png +Terminal=0 + +X-KDE-StartupNotify=false + +Comment=Penguins on your desktop +Comment[fr]=Des pingouins sur votre bureau +EOF + +uudecode xpenguins.uu +install -m644 -g0 -o0 Xpenguins.png $PKG/etc/X11/icons + +install -m644 -g0 -o0 AUTHORS ChangeLog README \ + $PKG/usr/doc/$NAME-$VERSION + +mv $PKG/usr/X11R6/man/man1/xpenguins.1 \ + $PKG/usr/X11R6/man/man1/xpenguins.1x + +chmod 444 $PKG/usr/X11R6/man/man?/*.?x +gzip -9nf $PKG/usr/X11R6/man/man?/*.?x + +strip $PKG/usr/X11R6/bin/* || : + +( + cd $PKG/usr/share/games/xpenguins + tar zxvf $CWD/$THEMES +) + +chown -R root.root $PKG +chgrp bin $PKG/usr/X11R6/bin $PKG/usr/X11R6/bin/* + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz |