summaryrefslogtreecommitdiff
path: root/system/tmux/tmux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tmux/tmux.SlackBuild')
-rw-r--r--system/tmux/tmux.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/system/tmux/tmux.SlackBuild b/system/tmux/tmux.SlackBuild
index 700d567235..0582c512f2 100644
--- a/system/tmux/tmux.SlackBuild
+++ b/system/tmux/tmux.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tmux
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,9 +70,12 @@ find . \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+
./configure
-CFLAGS+="$SLKCFLAGS" make
+CFLAGS+="$SLKCFLAGS" \
+make
+
make install PREFIX=/usr DESTDIR=$PKG
# Fix up some root:bin ownership and add owner write perms where needed
@@ -89,7 +92,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES FAQ NOTES TODO examples/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES FAQ NOTES TODO examples/ \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install