diff options
Diffstat (limited to 'graphics/feh/feh.SlackBuild')
-rw-r--r-- | graphics/feh/feh.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/graphics/feh/feh.SlackBuild b/graphics/feh/feh.SlackBuild index ccfd4ff316730..79d297d8478a8 100644 --- a/graphics/feh/feh.SlackBuild +++ b/graphics/feh/feh.SlackBuild @@ -1,16 +1,14 @@ #!/bin/sh # Slackware build script for feh - # Written by Chess Griffin <chess at chessgriffin dot com> -# Modified by the SlackBuilds.org project -PRGNAM=feh -VERSION=1.3.4 +PRGNAM=feh +VERSION=1.3.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -27,7 +25,6 @@ cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 cd $PRGNAM-$VERSION || exit 1 - chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -45,13 +42,14 @@ make install-strip DESTDIR=$PKG || exit 1 if [ -d $PKG/usr/man ]; then ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; - for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) fi # The Makefile already copies most of the docs; this does the rest mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING cam $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a cam $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |