diff options
Diffstat (limited to 'graphics/gerbv/gerbv.SlackBuild')
-rw-r--r-- | graphics/gerbv/gerbv.SlackBuild | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/graphics/gerbv/gerbv.SlackBuild b/graphics/gerbv/gerbv.SlackBuild index 9421adbc591d..b25f2ee860d6 100644 --- a/graphics/gerbv/gerbv.SlackBuild +++ b/graphics/gerbv/gerbv.SlackBuild @@ -10,7 +10,7 @@ VERSION=1.0.2 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 +27,6 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION - chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -44,7 +43,7 @@ make install-strip DESTDIR=$PKG 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 @@ -52,10 +51,6 @@ mkdir -p $PKG/usr/share/{applications,icons/hicolor/48x48/apps} install -m 0644 desktop/gerbv.desktop $PKG/usr/share/applications/gerbv.desktop install -m 0644 desktop/gerbv.png $PKG/usr/share/icons/hicolor/48x48/apps/gerbv.png -# Fix icon path in desktop file -sed -i 's%Icon=gerbv%Icon=/usr/share/icons/hicolor/48x48/apps/gerbv.png%' \ - $PKG/usr/share/applications/gerbv.desktop - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/* \ $PKG/usr/doc/$PRGNAM-$VERSION |