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

commit bc567a85aa3249837e8a5152be08fcbcc8d87e4b
Author: Devil505 <devil505li...@gmail.com>
Date:   Tue Aug 11 08:47:56 2009 +0200

freeorion-rev3102-2-i686
* dropping .desktop file, now using Fdesktop2
* rm useless files
* it's 386 binaries, i don't think they'll work on x86_64, i'll try to
* get a source tarball from svn repo of freeorion

diff --git a/source/games-extra/freeorion/FrugalBuild 
b/source/games-extra/freeorion/FrugalBuild
index 9cbe456..858a63b 100644
--- a/source/games-extra/freeorion/FrugalBuild
+++ b/source/games-extra/freeorion/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=freeorion
pkgver=rev3102
extraver=i386_static
-pkgrel=1
+pkgrel=2
pkgdesc="Free Clone of Master of Orion. Static linked version."
archs=('i686' 'x86_64')
groups=('games-extra')
@@ -12,25 +12,32 @@ url="http://freeorion.org/";
Fpkgversep="_"
depends=('boost' 'fmod' 'sdl' 'openal' 'libvorbis')
source=(http://freeorion.psitronic.de/download/$pkgname'_'$pkgver'_'$extraver.tar.gz
 \
-       $pkgname.png $pkgname.desktop)
+       $pkgname.png)
up2date="Flasttar http://freeorion.psitronic.de/download/ | sed 
's/_$extraver\(.*\)/\1/' "
_F_cd_path="$pkgname"
sha1sums=('e3ff3a8ab20dfaa2c0b16d750c59fd31b2abc05d' \
-          '51d7d9a9e9e9555f2646e693f0e48d28a5f06f2e' \
-          'b24163674edff7303d0c8aff73af644c1ebb10de')
+          '51d7d9a9e9e9555f2646e693f0e48d28a5f06f2e')
+
+_F_desktop_name="Freeorion"
+_F_desktop_desc="Free MMO Clone"
+_F_desktop_icon="freeorion.png"
+_F_desktop_exec="/usr/share/freeorion/freeorion"
+_F_desktop_categories="Qt;KDE;Game;StrategyGame;"

build() {
Fcd
Fmkdir /usr/{bin,share/{$pkgname,applications}}
Fcp freeorion/* /usr/share/$pkgname/
+       Frm /usr/share/$pkgname/setup.sh
+       Frm /usr/share/$pkgname/autorun.sh
+       Frm /usr/share/$pkgname/setup.data
Fdirschmod usr/share/$pkgname 755
Ffileschmod /usr/share/$pkgname/ 644
Ffileschmod /usr/share/$pkgname/application/freeorion 755
Ffileschmod /usr/share/$pkgname/application/freeorionca 755
Ffileschmod /usr/share/$pkgname/application/freeoriond 755
-       Fln /usr/share/$pkgname/freeorion /usr/bin/freeorion
-       Ficon freeorion.png
-       Finstall 644 freeorion.desktop $Fmenudir
+       Ficon $pkgname.png
+       Fdesktop2
}

# optimization OK
diff --git a/source/games-extra/freeorion/freeorion.desktop 
b/source/games-extra/freeorion/freeorion.desktop
deleted file mode 100644
index 11782de..0000000
--- a/source/games-extra/freeorion/freeorion.desktop
+++ /dev/null
@@ -1,21 +0,0 @@
-
-[Desktop Entry]
-Comment=
-Comment[en_US]=
-Encoding=UTF-8
-Exec=/opt/freeorion/freeorion
-GenericName=Free MMO Clone
-GenericName[en_US]=Free MMO Clone
-Icon=/usr/share/pixmaps/freeorion.png
-MimeType=
-Name=Freeorion
-Name[en_US]=Freeorion
-Path=
-StartupNotify=true
-Terminal=false
-TerminalOptions=
-Type=Application
-Categories=Qt;KDE;Game;StrategyGame;
-X-DCOP-ServiceType=
-X-KDE-SubstituteUID=false
-X-KDE-Username=
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to