diff options
Diffstat (limited to 'desktop/catfish')
-rw-r--r-- | desktop/catfish/catfish.SlackBuild | 26 | ||||
-rw-r--r-- | desktop/catfish/catfish.info | 12 |
2 files changed, 24 insertions, 14 deletions
diff --git a/desktop/catfish/catfish.SlackBuild b/desktop/catfish/catfish.SlackBuild index de89a4ef31..d50a804fad 100644 --- a/desktop/catfish/catfish.SlackBuild +++ b/desktop/catfish/catfish.SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for catfish -# Copyright 2014 David Woodfall <dave@dawoodfall.net> +# Copyright 2014 David Woodfall <dave@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,10 +21,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=catfish -VERSION=${VERSION:-1.4.2} +VERSION=${VERSION:-4.16.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then esac fi -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} @@ -45,7 +55,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -54,7 +64,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG 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 @@ -65,7 +75,7 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING NEWS INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -73,4 +83,4 @@ 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/desktop/catfish/catfish.info b/desktop/catfish/catfish.info index ddca2befb1..4fcb43f457 100644 --- a/desktop/catfish/catfish.info +++ b/desktop/catfish/catfish.info @@ -1,10 +1,10 @@ PRGNAM="catfish" -VERSION="1.4.2" +VERSION="4.16.3" HOMEPAGE="http://www.twotoasts.de/index.php/catfish/" -DOWNLOAD="https://launchpad.net/catfish-search/1.4/1.4.2/+download/catfish-1.4.2.tar.gz" -MD5SUM="4166efbd6afd411a69714dde94028716" +DOWNLOAD="https://archive.xfce.org/src/apps/catfish/4.16/catfish-4.16.3.tar.bz2" +MD5SUM="01eef9cdedcb1acbb7b51cd7b5c822f4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pyxdg pexpect python-distutils-extra" -MAINTAINER="David Woodfall" -EMAIL="dave@dawoodfall.net" +REQUIRES="python3-pexpect python-distutils-extra" +MAINTAINER="D Woodfall" +EMAIL="dave@slackbuilds.org" |