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

commit b3b57002f1660d90bc1dad21f189ca279b754af6
Author: Marius Cirsta <mfor...@gmail.com>
Date:   Sun Jul 10 02:18:33 2011 +0300

megaglest-3.5.2.4-1-i686 * version bump * split data to megaglest-data * added 
megaglest-data to rodepends

diff --git a/source/games-extra/megaglest/FrugalBuild 
b/source/games-extra/megaglest/FrugalBuild
index b35d7a0..b255819 100644
--- a/source/games-extra/megaglest/FrugalBuild
+++ b/source/games-extra/megaglest/FrugalBuild
@@ -2,50 +2,21 @@
# Maintainer: Devil505 <devil505li...@gmail.com>

pkgname=megaglest
-pkgver=3.5.0
+pkgver=3.5.2.4
pkgrel=1
pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world."
depends=('curl' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'libgl' 'lua')
-makedepends=('jam' '7zip' 'wxgtk')
+makedepends=('jam' 'xz' 'wxgtk')
+rodepends=('megaglest-data')
groups=('games-extra')
archs=('i686' 'x86_64')
-_F_sourceforge_ext=".tar.bz2"
+_F_sourceforge_ext=".tar.xz"
_F_sourceforge_name="${pkgname}-source"
_F_cmake_confopts="-DWANT_SVN_STAMP=OFF -DCMAKE_BUILD_TYPE=Release"
Finclude sourceforge cmake
replaces=('glest')
source=($source \
-    
http://sourceforge.net/projects/megaglest/files/current_release/$pkgname-data-3.5.0.1.7z
 \
$pkgname.sh)
-sha1sums=('64cdea6984518c84ab1f9623fe3cca9ab732868d' \
-          'd6d52b3b2b80ddd4962828fb71ac1d93e82f20a4' \
+_F_cd_path=$pkgname-$pkgver
+sha1sums=('e4845d6b8552c83653e8483bf8cf5e929a968064' \
'cebc6849fc4a56e5c4a99beaa3d039956076175b')
-
-build() {
-  Fcd ${pkgname}-source-${pkgver}/
-
-  CMake_make
-
-  # Megaglest doesn't have a nice installer. Let's package it ourselves.
-  # Damnit, upstream.
-  Fmkdir usr/{bin,share/${pkgname}}
-  Fexe $pkgname.sh usr/bin/$pkgname
-  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 ${pkgname}-source-${pkgver}/glest.ini usr/share/$pkgname
-  Finstall 644 ${pkgname}-source-${pkgver}/glestkeys.ini usr/share/$pkgname
-  Finstall 644 ${pkgname}-source-${pkgver}/servers.ini usr/share/$pkgname
-
-  # Desktop
-  Finstall 644 ${pkgname}-source-${pkgver}/${pkgname}.desktop 
usr/share/applications/${pkgname}.desktop
-  Finstall 644 ${pkgname}-source-${pkgver}/${pkgname}.png 
usr/share/pixmaps/${pkgname}.png
-  Fsed "Exec=.*" "Exec=${pkgname}" 
$Fdestdir/usr/share/applications/${pkgname}.desktop
-  Fsed "Icon=.*" "Icon=${pkgname}" 
$Fdestdir/usr/share/applications/${pkgname}.desktop
-
-  ## Moving datas
-  cd $Fsrcdir || Fdie
-  mv data maps scenarios techs tilesets tutorials 
$Fdestdir/usr/share/$pkgname/ || Fdie
-}
-
-# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to