Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9508704028894fc186c15cbe704e87f1fa46cef9

commit 9508704028894fc186c15cbe704e87f1fa46cef9
Author: gholafox <ghola...@free.fr>
Date:   Mon Sep 7 22:46:30 2009 +0200

egoboo-2.7.5-1-i686

* Version bump
* Remove useless patch.diff
* Add desktop entry (without png img)

diff --git a/source/games-extra/egoboo/FrugalBuild 
b/source/games-extra/egoboo/FrugalBuild
index 232673a..c76f187 100644
--- a/source/games-extra/egoboo/FrugalBuild
+++ b/source/games-extra/egoboo/FrugalBuild
@@ -1,40 +1,46 @@
# Compiling Time: 0.12 SBU
-# Maintainer: gholafox <j3d1...@free.fr>
+# Maintainer: gholafox <ghola...@free.fr>
# Contributor: Devil505 <devil505li...@gmail.com>

pkgname=egoboo
-pkgver=2.7.3
+pkgver=2.7.5
pkgrel=1
pkgdesc="Egoboo is a working cool 3D dungeon crawling game in the spirit of 
nethack"
-_F_sourceforge_realname="Linux\/Macintosh Distro"
+_F_sourceforge_realname="Linux_Source_Distro"
Finclude sourceforge
depends=('sdl_mixer' 'sdl_ttf' 'sdlimage')
groups=('games-extra')
archs=('i686' 'x86_64')
-source=($source patch.diff)
-sha1sums=('163cca1dbd70516450bf4e7af3c7f58059926ac3' \
-          'e61eb46b72cab65aaaf6eeda31f11b64f818b7c3')
+source=($source/${pkgname}-$pkgver.tar.gz \
+       $source/${pkgname}-data-$pkgver.tar.gz)
+sha1sums=('a5fff22f6c5af806057a84cf52977ede35a59b65' \
+          'd2c8c5f32caa67539b01215251e4f119292cc7af')
+_F_cd_path="${pkgname}-${pkgver}/game"
+
+_F_desktop_name="Egoboo"
+
build()
{
-       #building executable:
+       #build & install executable:
Fcd
Fpatchall
-       Fsed '\${HOME}/.local' '\${DESTDIR}/usr' source/Makefile
-       Fsed '\${HOME}/.local' '\${DESTDIR}/usr' source/game/Makefile.unix
-       Fsed '\${HOME}/.local'           '/usr' source/game/egoboo.sh
-       Fsed "-Os"      "${CFLAGS}"     source/{Makefile,/game/Makefile.unix}
-       cd source || Fdie
-       cp -f game/Makefile.unix game/Makefile
+       #Fsed '\${HOME}/.local' '\${DESTDIR}/usr' source/game/Makefile.unix
+       #Fsed '\${HOME}/.local'           '/usr' source/game/egoboo.sh
+       Fsed '/usr' '\${DESTDIR}/usr' Makefile.unix
+       Fsed "-Os"      "${CFLAGS}"     Makefile.unix
+       cp -f Makefile.unix Makefile
Fmake
Fmakeinstall
-       cd ..
-
-       #install data:
+       cd ../../${pkgname}-data-${pkgver}
+
+       #install datas:
Fmkdir usr/share/egoboo
-       mv doc/Egoboo\ Manual.pdf doc/Manual.pdf || Fdie
-       Fdocrel doc/{classes.txt,Egoboodoc.txt,Manual.pdf} License.pdf 
Changelog.txt Readme.txt
-       Ffilerel {controls.txt,setup.txt,*.ico} /usr/share/egoboo
+       mv Egoboo\ ${pkgver}\ Manual.pdf Manual.pdf || Fdie
+       Fdocrel {Manual.pdf,License.pdf,Changelog.txt,Readme.txt}
+       Ffilerel {controls.txt,setup.txt} /usr/share/egoboo
cp -R {basicdat,modules,players} $Fdestdir/usr/share/egoboo || Fdie
+
+       Fdesktop2
}

# optimization OK
diff --git a/source/games-extra/egoboo/patch.diff 
b/source/games-extra/egoboo/patch.diff
deleted file mode 100644
index 2196b95..0000000
--- a/source/games-extra/egoboo/patch.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- source/Makefile    2009-04-25 10:56:36.000000000 +0200
-+++ Makefile_correct.diff      2009-06-04 21:39:08.000000000 +0200
-@@ -13,7 +13,7 @@
-
- install:
-       mkdir -p ${PREFIX}/bin
--      install -p -m 755 game/{PROJ_NAME}.sh ${PREFIX}/bin/${PROJ_NAME}
-+      install -p -m 755 game/${PROJ_NAME}.sh ${PREFIX}/bin/${PROJ_NAME}
-
-       mkdir -p ${PREFIX}/libexec
--      install -m 755 game/${PROJ_NAME} ${PREFIX}/libexec
-\ Pas de fin de ligne à la fin du fichier.
-+      install -m 755 game/${PROJ_NAME} ${PREFIX}/libexec
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to