Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=824a14f4cf6726a1bda22e8df297b41beeafef22
commit 824a14f4cf6726a1bda22e8df297b41beeafef22 Author: Devil505 <[email protected]> Date: Sat Apr 23 09:32:53 2011 +0200 megaglest-3.5.0-1-i686 * fixing build * removed icon * icon and desktop files now provided in source diff --git a/source/games-extra/megaglest/FrugalBuild b/source/games-extra/megaglest/FrugalBuild index 81c3c30..1ba3afe 100644 --- a/source/games-extra/megaglest/FrugalBuild +++ b/source/games-extra/megaglest/FrugalBuild @@ -16,17 +16,11 @@ Finclude sourceforge cmake replaces=('glest') source=($source \ http://sourceforge.net/projects/megaglest/files/current_release/$pkgname-data-3.5.0.1.7z \ - $pkgname.png $pkgname.sh) + $pkgname.sh) sha1sums=('64cdea6984518c84ab1f9623fe3cca9ab732868d' \ 'd6d52b3b2b80ddd4962828fb71ac1d93e82f20a4' \ - 'a9f232296dc8c5eb1cdacd1866f2c44369977ac9' \ 'cebc6849fc4a56e5c4a99beaa3d039956076175b') -_F_desktop_name="Megaglest" -_F_desktop_icon="megaglest" -_F_desktop_categories="Game" - - build() { Fcd ${pkgname}-source-${pkgver}/ @@ -36,19 +30,22 @@ build() { # Damnit, upstream. Fmkdir usr/{bin,share/${pkgname}} Fexe $pkgname.sh usr/bin/$pkgname - Fexe ${pkgname}-source-${pkgver}/mk/linux/glest.bin usr/share/${pkgname}/$pkgname - Fexe ${pkgname}-source-${pkgver}/mk/linux/glest_configurator usr/bin/glest_configurator - Fexe ${pkgname}-source-${pkgver}/mk/linux/glest_editor usr/bin/glest_editor + Fexe ${pkgname}-source-${pkgver}/mk/linux/megaglest.bin usr/share/${pkgname}/$pkgname + Fexe ${pkgname}-source-${pkgver}/mk/linux/megaglest_configurator usr/bin/glest_configurator + Fexe ${pkgname}-source-${pkgver}/mk/linux/megaglest_editor usr/bin/glest_editor Finstall 644 glest.ini usr/share/$pkgname Finstall 644 glestkeys.ini usr/share/$pkgname Finstall 644 servers.ini usr/share/$pkgname + # Desktop + sed -i s/Exec=.*/Exec=${pkgname}/g ${pkgname}.desktop + sed -i s/Icon=.*/Icon=${pkgname}/g ${pkgname}.desktop + Finstall 644 ${pkgname}.desktop usr/share/applications/${pkgname}.desktop + Finstall 644 ${pkgname}.png usr/share/pixmaps/${pkgname}.png + ## Moving datas cd $Fsrcdir || Fdie mv data maps scenarios techs tilesets tutorials $Fdestdir/usr/share/$pkgname/ || Fdie - - Fdesktop2 - Ficon ${pkgname}.png } # optimization OK diff --git a/source/games-extra/megaglest/megaglest.png b/source/games-extra/megaglest/megaglest.png deleted file mode 100644 index 65e5d98..0000000 Binary files a/source/games-extra/megaglest/megaglest.png and /dev/null differ _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
