Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0ba8b8fc6c34afc95cd4daa6d4662c9afc1e1934
commit 0ba8b8fc6c34afc95cd4daa6d4662c9afc1e1934
Author: voroskoi <[EMAIL PROTECTED]>
Date: Thu Apr 10 19:26:13 2008 +0200
openttd-0.6.0-1-i686
version bump
slightly reworked build()
using Fdesktop2 instead of openttd.desktop file
diff --git a/source/games-extra/openttd/FrugalBuild
b/source/games-extra/openttd/FrugalBuild
index 6af9a45..5d2ae80 100644
--- a/source/games-extra/openttd/FrugalBuild
+++ b/source/games-extra/openttd/FrugalBuild
@@ -1,9 +1,9 @@
-# Compiling time: ~0.45 SBU
+# Compiling time: 1.41 SBU
# Contributor: Laszlo Dvornik <[EMAIL PROTECTED]>
# Maintainer: voroskoi <[EMAIL PROTECTED]>
pkgname=openttd
-pkgver=0.5.3
+pkgver=0.6.0
pkgrel=1
pkgdesc="An open source clone of the Microprose game Transport Tycoon Deluxe"
_F_sourceforge_ext="-source.tar.gz"
@@ -13,7 +13,8 @@ depends=('sdl' 'libpng')
groups=('games-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.openttd.com/downloads.php |grep latest |sed -ne
's/.*is \(.*\),.*/\1/;1p'"
-source=($source $pkgname.desktop README.Frugalware \
+Fconfopts="--prefix-dir=${Fprefix} --binary-dir=/bin --data-dir=/share/openttd
--personal-dir=.openttd --install-dir=${Fdestdir}"
+source=($source README.Frugalware \
http://$_F_sourceforge_mirror.dl.sourceforge.net/openttd/openttd-0.5.0-scenarios.tar.bz2
\
http://$_F_sourceforge_mirror.dl.sourceforge.net/openttd/openttd-0.4.8-scenarios.tar.bz2)
@@ -25,17 +26,11 @@ build() {
mv $Fsrcdir/*.scn $Fdestdir/$SDIR || Fdie
Fcd $pkgname-$pkgver
- make PREFIX=/usr INSTALL=1 BINARY_DIR=bin \
- DATA_DIR=share/openttd PERSONAL_DIR=.openttd \
- USE_HOMEDIR=1 RELEASE=$pkgver ICON_DIR=share/openttd \
- WITH_PNG=1 WITH_ZLIB=1 WITH_NETWORK=1 UNIX=1 || Fdie
- make DEST_DIR=$Fdestdir install || Fdie
- Ffile /usr/share/applications/openttd.desktop
- Fdoc README.Frugalware
- #make info
+ Fbuild
+ _F_desktop_icon="openttd.64.png"
+ Fdesktop2
}
-sha1sums=('8c3037040c4ae32a891d644597321bd5da314af1' \
- '2461241ca67d122d5da4466a59899ae221282227' \
+sha1sums=('9760889a5463ff01969fcdb53b9a2bb8e4026ecb' \
'f4fbcdeb9109489bf69e0976c68955381ff6d6d6' \
'965fc34bbe9998741ea07531772c9673b33aab99' \
'88b3caff739fbf7bd4eb143ae97925556e813ce4')
diff --git a/source/games-extra/openttd/openttd.desktop
b/source/games-extra/openttd/openttd.desktop
deleted file mode 100644
index f4588da..0000000
--- a/source/games-extra/openttd/openttd.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=OpenTTD
-Comment=Open Transport Tycoon Deluxe
-Exec=openttd
-Icon=/usr/share/openttd/openttd.64.png
-Terminal=false
-Categories=GNOME;Application;Game;
-Type=Application
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git