diff options
author | B. Watson <urchlay@slackware.uk> | 2023-09-08 04:03:27 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-09 10:14:22 +0700 |
commit | 2eeff6423874102625323ed26cf66ec3115b6fe4 (patch) | |
tree | 7d80d3d03b7aaa3884a1b1f955aa09250ccde104 /network/weechat/weechat.SlackBuild | |
parent | f76d32220a663c1655096a2f4dcadc1f6409e5d8 (diff) |
network/weechat: Updated for version 4.0.4.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/weechat/weechat.SlackBuild')
-rw-r--r-- | network/weechat/weechat.SlackBuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/network/weechat/weechat.SlackBuild b/network/weechat/weechat.SlackBuild index adb53d094ee4..f691083effe6 100644 --- a/network/weechat/weechat.SlackBuild +++ b/network/weechat/weechat.SlackBuild @@ -23,6 +23,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230907 bkw: update for v4.0.4. # 20230104 bkw: update for v3.7.1. # 20211019 bkw: @@ -43,7 +44,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=weechat -VERSION=${VERSION:-3.7.1} +VERSION=${VERSION:-4.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,24 +86,24 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + # 20211019 bkw: patch from Debian: Build html documentation without # requiring data (javascript, fonts) on external websites (potential # privacy breach). Patch was slightly modified for Slackware. # 20230104 bkw: patch updated, used as-is from Debian this time. -patch -p1 < $CWD/01_fix_asciidoctor_options.patch +#patch -p1 < $CWD/01_fix_asciidoctor_options.patch # 20211019 bkw: hardcoded paths suck. DOC=/usr/doc/$PRGNAM-$VERSION PKGDOC=$PKG/$DOC sed -i \ - '/install(/s,\(DESTINATION\) *\$.DATAROOTDIR.*,\1 '$DOC'/html),' \ - doc/*/CMakeLists.txt + '/install(/s,\(DESTINATION\) *"\$.DATAROOTDIR.*,\1 '$DOC'/html),' \ + doc/CMakeLists.txt # 20211019 bkw: # -DENABLE_PHP=OFF because Slackware's php isn't built with --enable-embed. @@ -118,7 +119,8 @@ for i in lua5.3 lua5.2 lua; do done # Everything else is autodetected and/or included in a full Slackware -# install. +# install. Have to enable "incomplete docs" in 4.0.x, so it won't +# complain about disabled plugins. mkdir build cd build @@ -130,6 +132,7 @@ cd build -DENABLE_JAVASCRIPT=OFF \ -DENABLE_PHP=OFF \ -DENABLE_DOC=ON \ + -DENABLE_DOC_INCOMPLETE=ON \ -DENABLE_MAN=ON \ -DMANDIR=/usr/man \ -DLIBDIR=/usr/lib${LIBDIRSUFFIX} \ |