[Frugalware-git] frugalware-0.8: openttd-0.6.2-1kalgan1-i686
Miklos Vajna
vmiklos at frugalware.org
Sat Aug 30 00:15:31 CEST 2008
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-0.8.git;a=commitdiff;h=ebb5ac58212f4267f053b4449a8deabab8e30765
commit ebb5ac58212f4267f053b4449a8deabab8e30765
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Sat Aug 30 00:14:36 2008 +0200
openttd-0.6.2-1kalgan1-i686
- secfix bump
- closes #3303
diff --git a/source/games-extra/openttd/FrugalBuild b/source/games-extra/openttd/FrugalBuild
index 6af9a45..a392f39 100644
--- a/source/games-extra/openttd/FrugalBuild
+++ b/source/games-extra/openttd/FrugalBuild
@@ -1,19 +1,20 @@
-# Compiling time: ~0.45 SBU
+# Compiling time: 1.41 SBU
# Contributor: Laszlo Dvornik <dvornik at gnome.hu>
# Maintainer: voroskoi <voroskoi at frugalware.org>
pkgname=openttd
-pkgver=0.5.3
-pkgrel=1
+pkgver=0.6.2
+pkgrel=1kalgan1
pkgdesc="An open source clone of the Microprose game Transport Tycoon Deluxe"
_F_sourceforge_ext="-source.tar.gz"
Finclude sourceforge
url="http://www.openttd.com/"
-depends=('sdl' 'libpng')
+depends=('sdl' 'libpng' 'libtimidity' 'freetype2' 'fontconfig')
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=('04465c64ee43e1af7353b6d3801d79c52cf9ee30' \
'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
More information about the Frugalware-git
mailing list