2011-03-05 10:35 keltezéssel, kikadf írta:
Hi!
Bos Wars is a strategy game. Please somebody check the FB.
The package size is 105 Mb, should I add the no build option?
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel
Ooops
# Maintainer: kikadf <[email protected]>
# Compiling Time: 0.10 SBU
pkgname=boswars
pkgver=2.6.1
pkgrel=1
pkgdesc="Bos Wars is a futuristic real time strategy game (RTS)."
url="http://www.boswars.org/"
_F_cd_path="$pkgname-$pkgver-src"
_F_desktop_name="Bos Wars"
_F_desktop_icon="$pkgname.png"
_F_desktop_categories="Game;StrategyGame;"
makedepends=('scons')
depends=('sdl' 'libpng' 'lua' 'libvorbis' 'libtheora' 'libglu')
groups=('games-extra')
archs=('i686' 'x86_64')
up2date="Flasttar '$url/download.shtml' | cut -d '_' -f 1"
source=($url/dist/releases/$_F_cd_path.tar.gz \
$url/addons/greenlands.map.tgz \
$url/addons/obese.map.tgz \
$url/addons/obese2.map.tgz \
$url/addons/wargrounds.map.tgz \
$url/addons/wetlands03.map.tgz \
http://openiconlibrary.sourceforge.net/gallery2/open_icon_library-full/icons/png/32x32/apps/boswars.png)
sha1sums=('4a482064e6c22c28a519abe4861887595b99782d' \
'2d40d82ed2138e882c3bd66725e91cfee7833d07' \
'f7d2926a412638631de2dfa4498562e0737129b7' \
'b0fe1f9c12857cf27f975a9bc7699d9093cca7af' \
'b396df06fa7de6ff74d4ef9c56db283d00b8e8e7' \
'472a9275340ac7797c1fd296395ef4a44e0c6835' \
'ce562399f8ea53354a4063c8984291defbfa4b45')
build()
{
#Build boswars
Fcd
Fexec scons
dir=(/usr/share/$pkgname/)
Fmkdir $dir
Fcp $_F_cd_path/* $dir
Frm
$dir/{SConstruct,bos.sln,build_options.py,config.log,engine,tools,build,build_conf_cache.py}
Fwrapper '/usr/share/boswars/boswars -d /usr/share/boswars "$@"'
$pkgname
Ficon $pkgname.png
Fdesktop2
#Add extra maps
Fcp *.map $dir/maps/
}
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel