summaryrefslogtreecommitdiff
path: root/desktop/i3/i3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3/i3.SlackBuild')
-rw-r--r--desktop/i3/i3.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 47287220f3..3baa99ab79 100644
--- a/desktop/i3/i3.SlackBuild
+++ b/desktop/i3/i3.SlackBuild
@@ -6,7 +6,7 @@
# Updated by Eugene Suter <easuter@gmail.com>
PRGNAM=i3
-VERSION=3.e_bf1
+VERSION="3.e_bf3"
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
@@ -39,7 +39,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -55,9 +55,13 @@ find . \
-exec chmod 644 {} \;
# instead of ./configure
-sed -i "s/-O2/$SLKCFLAGS/" common.mk
sed -i "s,local/lib,lib$LIBDIRSUFFIX," common.mk
-make
+
+# make building verbose
+sed -i "/^\.SILENT/d" common.mk
+
+CFLAGS="$SLKCFLAGS" \
+ make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \