Репозиторий Sisyphus
Последнее обновление: 21 апреля 2019 | Пакетов: 17649 | Посещений: 13449144
en ru br
Репозитории ALT
S:145.1_2010_11_5-alt1
5.1: 144-alt2
4.1: 144-alt2
4.0: 144-alt2
3.0: 137-alt3
www.altlinux.org/Changes

Группа :: Игры/Аркады
Пакет: sdlscav

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 


Name: sdlscav
Version: 145.1_2010_11_5
Release: alt1

Group: Games/Arcade
Summary: Cool arcade/thinking game very much like Lode Runner
Url: http://www.xdr.com/dash/scavenger.html
License: GPL

# Automatically added by buildreq on Mon Mar 28 2011 (-bi)

BuildRequires: libSDL-devel

Source: http://prdownloads.sourceforge.net/sdlscavenger/sdlscav-145.1_2010_11_5.tar
Source10: %name.16.xpm
Source11: %name.32.xpm
Source12: %name.48.xpm

Patch1: sdlscav-145-datapath.patch

%description
SDL Scavenger is a cool arcade/thinking game very much like Lode Runner.
You've got to run around and collect objects while avoiding enemies. Some
objects are buried and you've got to dig down to get at them. It's an
addictive game and some of the levels are devilishly (cruelly) complicated
to solve.

%prep
%setup
%patch1 -p2
[ -f data/regulargui.lbm -a ! -f data/regularguy.lbm ] ||
   mv data/regularguy.lbm data/regulargui.lbm

%build
%make_build CFLAGS="%optflags `sdl-config --cflags`"

%install
mkdir -p %buildroot%_gamesbindir %buildroot%_gamesdatadir/%name
install -m 0755 %name %buildroot%_gamesbindir/
for f in data/*
do
   install -m 0644 $f %buildroot%_gamesdatadir/%name/
done

mkdir -p %buildroot/%_desktopdir/
cat << __EOF__ > %buildroot/%_desktopdir/%name.desktop
[Desktop Entry]
Type=Application
Name=SDL Scavenger
Name[ru]=SDL Scavenger
Comment=Cool arcade/thinking game very much like Lode Runner
Comment[ru]=п п╩п╣п╡п╟я▐ п╦пЁя─п╟ п╢п╩я▐ я│п©п╦п╫п╫п╬пЁп╬ п╦ пЁп╬п╩п╬п╡п╫п╬пЁп╬ п╪п╬п╥пЁп╟ я┌п╦п©п╟ Lode Runner
Icon=sdlscav
Exec=sdlscav
Terminal=false
Categories=Game;ArcadeGame;
__EOF__

mkdir -p %buildroot%_miconsdir
mkdir -p %buildroot%_niconsdir
mkdir -p %buildroot%_liconsdir
install -m 0644 %SOURCE10 %buildroot%_miconsdir/%name.xpm
install -m 0644 %SOURCE11 %buildroot%_niconsdir/%name.xpm
install -m 0644 %SOURCE12 %buildroot%_liconsdir/%name.xpm


%files
%doc README DOC
%_gamesbindir/*
%_gamesdatadir/%name
%_desktopdir/%name.desktop
%_miconsdir/%name.xpm
%_niconsdir/%name.xpm
%_liconsdir/%name.xpm

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin