diff options
Diffstat (limited to 'office/tudu')
-rw-r--r-- | office/tudu/README | 7 | ||||
-rw-r--r-- | office/tudu/tudu.SlackBuild | 34 | ||||
-rw-r--r-- | office/tudu/tudu.info | 8 |
3 files changed, 35 insertions, 14 deletions
diff --git a/office/tudu/README b/office/tudu/README index ec4a440ce4..4eb30f017b 100644 --- a/office/tudu/README +++ b/office/tudu/README @@ -1,3 +1,4 @@ -TuDu is a comand line interface to manage hierarchical todos. Each task has a -title, a long text description, a deadline (tudu warns you when the date is -close), and a scheduled date. There are categories and priorities. +TuDu is a comand line interface to manage hierarchical todos. Each +task has a title, a long text description, a deadline (tudu warns you +when the date is close), and a scheduled date. There are categories +and priorities. diff --git a/office/tudu/tudu.SlackBuild b/office/tudu/tudu.SlackBuild index 947b42762a..41041e0f3d 100644 --- a/office/tudu/tudu.SlackBuild +++ b/office/tudu/tudu.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for tudu -# Copyright 2016 Jostein Berntsen <jbernts@broadpark.no> +# Copyright 2016-2022 Jostein Berntsen <jvbernts@online.no> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220217 bkw: Modified by SlackBuilds.org: fix build if PDCurses happens +# to be installed on the build host. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tudu -VERSION=${VERSION:-0.10.2} +VERSION=${VERSION:-0.10.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +41,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -66,9 +75,20 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +# 20220217 bkw: PDCurses installs a /usr/include/xcurses.h that +# lacks support for wide characters. Forcing HAVE_XCURSES_H=0 +# prevents this build from failing if PDCurses happens to +# be installed. Note to fellow admins: this is why you have to also +# test SlackBuilds on a 'polluted' system with lots of packages +# installed. If you only ever tested on a clean VM with no SBo +# packages, you'd never find this issue (but our users would, because +# they don't do the clean VM thing). + +sed -i '/^check_include *HAVE_XCURSES_H/aHAVE_XCURSES_H=0' configure CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -97,4 +117,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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/office/tudu/tudu.info b/office/tudu/tudu.info index 6441844fc8..580a111440 100644 --- a/office/tudu/tudu.info +++ b/office/tudu/tudu.info @@ -1,10 +1,10 @@ PRGNAM="tudu" -VERSION="0.10.2" +VERSION="0.10.4" HOMEPAGE="https://code.meskio.net/tudu/" -DOWNLOAD="http://code.meskio.net/tudu/tudu-0.10.2.tar.gz" -MD5SUM="8c2573d7d04e41b78dde1e50049feaf8" +DOWNLOAD="https://code.meskio.net/tudu/tudu-0.10.4.tar.gz" +MD5SUM="26f061c23ac5f926ceb2dd5e205aba30" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Jostein Berntsen" -EMAIL="jbernts@broadpark.no" +EMAIL="jvbernts@online.no" |