summaryrefslogtreecommitdiff
path: root/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild')
-rw-r--r--libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild
index 5664e5852f..42d03a9455 100644
--- a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild
+++ b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild
@@ -30,12 +30,10 @@ VERSION=${VERSION:-1.1}
BUILD=${BUILD:-2}
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
@@ -75,7 +73,7 @@ find . \
-exec chmod 644 {} \;
# Patch the source so it won't break while building
-patch -p4 < $CWD/include.patch
+patch -p4 < $CWD/include.patch
# Fix for glib>=2.31
sed -i "s|/glist||" src/qt_theme_draw.c
@@ -86,7 +84,7 @@ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} .
- make
+ make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \