summaryrefslogtreecommitdiffstats
path: root/source/ap/tmux/tmux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/tmux/tmux.SlackBuild')
-rwxr-xr-xsource/ap/tmux/tmux.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/source/ap/tmux/tmux.SlackBuild b/source/ap/tmux/tmux.SlackBuild
index 0ea690da1..91eca2911 100755
--- a/source/ap/tmux/tmux.SlackBuild
+++ b/source/ap/tmux/tmux.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2013, 2016, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2013, 2016, 2017, 2018, 2019, 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=tmux
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -88,9 +88,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Fix crash when copying text:
-cat $CWD/0002-ncurses.patch | patch -p1 --verbose || exit 1
-
if [ ! -r configure ]; then
NOCONFIGURE=1 ./autogen.sh
fi
@@ -104,6 +101,8 @@ CFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--disable-static \
+ --enable-sixel \
+ --disable-cgroups \
--build=$ARCH-slackware-linux || exit 1
# Build and install:
@@ -129,8 +128,7 @@ chmod 644 $PKG/etc/tmux.conf.new
# Add a documentation directory:
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
cp -a \
- FAQ README TODO \
- examples \
+ CHANGES* COPYING* README* SYNCING*
example_tmux.conf \
$PKG/usr/doc/${PKGNAM}-$VERSION
@@ -171,4 +169,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-