desktop/catfish: Updated for version 1.4.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Woodfall 2017-05-24 08:51:15 +07:00 committed by Willy Sudiarto Raharjo
parent 9976ef840a
commit 748ac0ac9e
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 14 additions and 29 deletions

View file

@ -22,13 +22,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=catfish PRGNAM=catfish
VERSION=${VERSION:-0.3.2} VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -39,20 +39,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e set -e
rm -rf $PKG rm -rf $PKG
@ -68,19 +54,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -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 {} \;
CFLAGS="$SLKCFLAGS" \ python setup.py install --root=$PKG
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="catfish" PRGNAM="catfish"
VERSION="0.3.2" VERSION="1.4.2"
HOMEPAGE="http://www.twotoasts.de/index.php/catfish/" HOMEPAGE="http://www.twotoasts.de/index.php/catfish/"
DOWNLOAD="http://www.twotoasts.de/media/catfish/catfish-0.3.2.tar.gz" DOWNLOAD="https://launchpad.net/catfish-search/1.4/1.4.2/+download/catfish-1.4.2.tar.gz"
MD5SUM="b28db355094bfbe7de097678e91ce271" MD5SUM="4166efbd6afd411a69714dde94028716"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="pyxdg pexpect" REQUIRES="pyxdg pexpect python-distutils-extra"
MAINTAINER="David Woodfall" MAINTAINER="David Woodfall"
EMAIL="dave@dawoodfall.net" EMAIL="dave@dawoodfall.net"

View file

@ -13,7 +13,7 @@ catfish: interface is intentionally lightweight and simple, using only GTK+ 2.
catfish: You can configure it to your needs by using several command line catfish: You can configure it to your needs by using several command line
catfish: options. catfish: options.
catfish: catfish:
catfish: Homepage: http://twotoasts.de/index.php?/pages/catfish_summary.html catfish: Homepage: http://www.twotoasts.de/index.php/catfish/
catfish: catfish:
catfish: catfish:
catfish: catfish: