diff options
Diffstat (limited to 'network/neomutt')
-rw-r--r-- | network/neomutt/README | 4 | ||||
-rw-r--r-- | network/neomutt/neomutt.SlackBuild | 36 | ||||
-rw-r--r-- | network/neomutt/neomutt.info | 6 |
3 files changed, 30 insertions, 16 deletions
diff --git a/network/neomutt/README b/network/neomutt/README index 44dbb59cb1..bb806f5098 100644 --- a/network/neomutt/README +++ b/network/neomutt/README @@ -7,8 +7,6 @@ for selecting groups of messages. Optional dependencies: * notmuch - fast mail indexer for maildir -* kyotocabinet - straightforward implementation of DBM -* libidn2 - GNU IDN Library version 2 * lua53 - Powerful, fast, light-weight, embeddable scripting language NOTE: this won't work if you have multiple versions of lua installed. @@ -16,4 +14,4 @@ This script builds neomutt without optional support for idn2, notmuch, lua and kyotocabinet. You can be enabled with: -# USENOTMUCH=yes USEKYOTO=yes USEIDN2=yes USELUA=yes ./neomutt.SlackBuild +# USENOTMUCH=yes USELUA=yes ./neomutt.SlackBuild diff --git a/network/neomutt/neomutt.SlackBuild b/network/neomutt/neomutt.SlackBuild index c070bae4ec..51d1f52858 100644 --- a/network/neomutt/neomutt.SlackBuild +++ b/network/neomutt/neomutt.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for neomutt # -# Copyright 2016-2020 Corrado Franco (https://corradofranco.it) +# Copyright 2016-2022 Corrado Franco (https://corradofranco.it) # All rights reserved. # # This program is free software: you can redistribute it and/or modify @@ -25,10 +25,13 @@ # # Latest version of this SlackBuild at https://github.com/conraid/SlackBuilds +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=neomutt -VERSION=${VERSION:-20200925} -BUILD=${BUILD:-2} +VERSION=${VERSION:-20240329} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z ${ARCH:=""} ]; then case "$( uname -m )" in @@ -38,7 +41,14 @@ if [ -z ${ARCH:=""} ]; then esac fi -cd $(dirname $0) ; CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -58,9 +68,7 @@ else fi [ ${USELUA:-no} == 'yes' ] && LUA="--lua" || LUA="" -[ ${USEKYOTO:-no} == 'yes' ] && KYOTO="--kyotocabinet" || KYOTO="" [ ${USENOTMUCH:-no} == 'yes' ] && NOTMUCH="--notmuch" || NOTMUCH="" -[ ${USEIDN2:-no} == 'yes' ] && IDN2="--idn2 --disable-idn" || IDN2="" set -eu @@ -95,22 +103,29 @@ CXXFLAGS="$SLKCFLAGS" \ --locales-fix \ --sqlite \ --full-doc \ + --idn2 \ + --autocrypt \ + --lmdb \ --host=$ARCH-slackware-linux \ --build=$ARCH-slackware-linux \ - $NOTMUCH $KYOTO $IDN2 $LUA + $NOTMUCH $LUA make make DESTDIR=$PKG install +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# install desktop file and icons install -Dm644 $CWD/files/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop for i in 32 64 128 256; do - install -Dm644 contrib/logo/$PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png + install -Dm644 data/logo/$PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png done # Rename conf files @@ -124,4 +139,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE + diff --git a/network/neomutt/neomutt.info b/network/neomutt/neomutt.info index f79fd525db..fab43ad595 100644 --- a/network/neomutt/neomutt.info +++ b/network/neomutt/neomutt.info @@ -1,8 +1,8 @@ PRGNAM="neomutt" -VERSION="20200925" +VERSION="20240329" HOMEPAGE="https://github.com/neomutt/neomutt" -DOWNLOAD="https://github.com/neomutt/neomutt/archive/20200925/neomutt-20200925.tar.gz" -MD5SUM="9123ea811c8c0b292669d088b3018b9e" +DOWNLOAD="https://github.com/neomutt/neomutt/archive/20240329/neomutt-20240329.tar.gz" +MD5SUM="3ea5e0b732ecff28a2105041602e6222" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |