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

commit e3690f25566b1acd2d4cb4f63149e8ed75383b7c
Author: Devil505 <devil505li...@gmail.com>
Date:   Mon Aug 10 12:09:46 2009 +0200

tremulous-1.1.0-5-i686
* now using Fwrapper

diff --git a/source/games-extra/tremulous/FrugalBuild 
b/source/games-extra/tremulous/FrugalBuild
index d889a20..518fe02 100644
--- a/source/games-extra/tremulous/FrugalBuild
+++ b/source/games-extra/tremulous/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=tremulous
pkgver=1.1.0
-pkgrel=4
+pkgrel=5
pkgdesc="An online team based FPS/RTS hybrid game based on the Quake3 Engine"
license="GPL"
makedepends=('unzip')
@@ -49,23 +49,11 @@ build() {
fi

# Install wrapper
-       Fmkdir usr/bin
if [ "$CARCH" = "x86_64" ]; then
-       cat > $Fdestdir/usr/bin/tremulous << EOF
-       !#/bin/sh
-       cd /usr/share/tremulous/
-       ./tremulous.x86_64 $*
-       echo exit $?
-EOF
+       Fwrapper "cd /usr/share/tremulous/ && ./tremulous.x86_64 $*" $pkgname
else
-       cat > $Fdestdir/usr/bin/tremulous << EOF
-       !#/bin/sh
-       cd /usr/share/tremulous/
-       ./tremulous.x86 $*
-       echo exit $?
-EOF
+       Fwrapper "cd /usr/share/tremulous/ && ./tremulous.x86 $*" $pkgname
fi
-       Ffileschmod usr/bin/ 755

# Install desktop entry
Fdesktop2
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to