diff options
author | Chess Griffin <chess@chessgriffin.com> | 2010-05-11 19:44:47 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:44:47 +0200 |
commit | b90128523b37a91c3933124f65bf1e5b9e92b343 (patch) | |
tree | 8665b35e1008a4c5397d08302fc5f8a9d0b5282b /graphics/feh/feh.SlackBuild | |
parent | 1b64c144d44e485a5ef912e2d6c8b9186d13fd5b (diff) | |
download | slackbuilds-b90128523b37a91c3933124f65bf1e5b9e92b343.tar.gz |
graphics/feh: Updated for version 1.3.4
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 ccfd4ff316..79d297d847 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 |