Le 03/05/2011 22:19, Devil505 a écrit :
Le 3 mai 2011 22:13, Sébastien VINCENT<[email protected]> a écrit :
Hi,
frogatto is an old-school 2d platformer game, starring a certain quixotic
frog.
File attached
You can avoid to put this wrapper.
In build() try:
Fwrapper "cd /usr/share/frogatto&& ./game $*" $pkgname
This will create the wrapper into /usr/bin automagically.
Just one other thing,
make game server || Fdie
would be better IMHO
rest seems OK for me
New FrugalBuild
Sébastien VINCENT Aka Baste
# Compiling Time: SBU
# Maintainer: No Yet
# Contributor : Baste <[email protected]>
pkgname=frogatto
pkgver=1.0.3
pkgrel=1
pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog"
_F_desktop_name="Frogatto"
_F_desktop_icon="$pkgname.png"
_F_desktop_categories="Game;ArcadeGame"
url="http://www.frogatto.com"
depends=('sdl' 'sdlimage' 'sdl_mixer' 'sdl_ttf' 'libgl' 'libglu' 'glew'
'libboost')
makedepends=('boost')
groups=('games-extra')
archs=('i686' 'x86_64')
up2date="Flasttar http://files.frogatto.com/"
source=(http://files.frogatto.com/$pkgname-$pkgver.tar.bz2)
sha1sums=('376371c1d16307b3ec753edc7eef4c6d06bbcb7f')
build () {
Fcd
Fsed "boost_regex-mt" "boost_regex" Makefile
Fsed "boost_system-mt" "boost_system" Makefile
Fsed "boost_thread-mt" "boost_thread" Makefile
Fsed "boost_iostreams-mt" "boost_iostreams" Makefile
make game server || Fdie
Fexerel game usr/share/$pkgname/game
Fexerel server usr/share/$pkgname/server
for i in data images music sounds FreeMono.ttf
do
Fcprel $i usr/share/$pkgname/
done
Fmkdir usr/share/pixmaps
Fcprel images/window-icon.png usr/share/pixmaps/$pkgname.png
Fdesktop2
Fwrapper "cd /usr/share/frogatto && ./game $*" $pkgname
#Fexe $pkgname usr/bin/$pkgname
}
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel