From b0c806f44dc03d1c01aeb238fbb8c0851608e7b6 Mon Sep 17 00:00:00 2001
From: Eugene Suter <easuter@gmail.com>
Date: Mon, 11 Jul 2011 10:08:00 -0300
Subject: desktop/i3: Updated for version 3.e_bf3

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
---
 desktop/i3/i3.SlackBuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'desktop/i3/i3.SlackBuild')

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 \
-- 
cgit v1.2.3