summaryrefslogtreecommitdiffstats
path: root/games/FlightGear/FlightGear.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/FlightGear/FlightGear.SlackBuild')
-rw-r--r--games/FlightGear/FlightGear.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild
index f4f2667300..66bd820b88 100644
--- a/games/FlightGear/FlightGear.SlackBuild
+++ b/games/FlightGear/FlightGear.SlackBuild
@@ -8,12 +8,10 @@ VERSION=${VERSION:-2.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -61,7 +59,7 @@ cd build
-DEVENT_INPUT:STRING="ON" \
-DFG_DATA_DIR=/usr/share/${PRGNAM} \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make
make install DESTDIR=$PKG
cd ..