summaryrefslogtreecommitdiff
path: root/games/supertux2/supertux2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/supertux2/supertux2.SlackBuild')
-rw-r--r--games/supertux2/supertux2.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/supertux2/supertux2.SlackBuild b/games/supertux2/supertux2.SlackBuild
index d02c12473c..0efbbabc21 100644
--- a/games/supertux2/supertux2.SlackBuild
+++ b/games/supertux2/supertux2.SlackBuild
@@ -22,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=supertux2
+PRGNAM=supertux2
VERSION=${VERSION:-0.3.3}
BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
SRCNAM=supertux
@@ -38,9 +38,9 @@ if [ -z "$ARCH" ]; then
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -73,7 +73,7 @@ find . \
patch -p1 < $CWD/remove-curl-types_h-usage.patch
patch -p1 < $CWD/supertux2-0.3.3-gcc46.patch
-patch -p1 < $CWD/supertux2-0.3.3-squirrel-gcc47.patch
+patch -p1 < $CWD/supertux2-0.3.3-squirrel-gcc47.patch
mkdir -p build
cd build
@@ -85,7 +85,7 @@ cd build
-DINSTALL_SUBDIR_SHARE=share/games/$PRGNAM \
-DINSTALL_SUBDIR_DOC=doc/$PRGNAM-$VERSION \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make
make install DESTDIR=$PKG
cd ..