diff options
Diffstat (limited to 'system/untex')
-rw-r--r-- | system/untex/slack-desc | 2 | ||||
-rw-r--r-- | system/untex/untex.SlackBuild | 24 | ||||
-rw-r--r-- | system/untex/untex.info | 6 |
3 files changed, 19 insertions, 13 deletions
diff --git a/system/untex/slack-desc b/system/untex/slack-desc index abe8ff5b5f..b65cfa9a3e 100644 --- a/system/untex/slack-desc +++ b/system/untex/slack-desc @@ -10,10 +10,10 @@ untex: untex (strip LaTeX commands from source file) untex: untex: A tool for removing LaTeX commands from input. untex: +untex: Homepage: https://www.ctan.org/pkg/untex untex: untex: untex: untex: untex: untex: -untex: Homepage: https://www.ctan.org/pkg/untex diff --git a/system/untex/untex.SlackBuild b/system/untex/untex.SlackBuild index 0b3af3470a..9b20c06ae1 100644 --- a/system/untex/untex.SlackBuild +++ b/system/untex/untex.SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for untex # Written by Niki Kovacs (email removed) # -# Now maintained by B. Watson <yalhcru@gmail.com> +# Now maintained by B. Watson <urchlay@slackware.uk> # # All rights reserved. # @@ -25,15 +25,21 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220212 bkw: +# - actually update the maintainer/email in the .info file, d'oh! + # 20170626 bkw: # - take over maintenance # - fix missing includes and other compiler warnings # - minor script tweaks +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=untex VERSION=${VERSION:-1.3} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -43,7 +49,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} @@ -72,11 +82,7 @@ mkdir $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -C $PRGNAM-$VERSION 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 \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +chmod 644 * # 20170626 bkw: fix most of the compiler warnings we get with -Wall. This # should help with -current's gcc7, which is quite picky. @@ -94,4 +100,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/system/untex/untex.info b/system/untex/untex.info index 14d9bcac31..8ff6ba56a7 100644 --- a/system/untex/untex.info +++ b/system/untex/untex.info @@ -1,10 +1,10 @@ PRGNAM="untex" VERSION="1.3" HOMEPAGE="https://www.ctan.org/pkg/untex" -DOWNLOAD="ftp://ftp.thp.uni-duisburg.de/pub/source/untex-1.3.tar.gz" +DOWNLOAD="https://ftp.netbsd.org/pub/pkgsrc/distfiles/untex-1.3.tar.gz" MD5SUM="909da862cdccea0f6987467be72f103a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Niki Kovacs" -EMAIL="info@microlinux.fr" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" |