aboutsummaryrefslogtreecommitdiff
path: root/graphics/gerbv/gerbv.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-11 19:44:48 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:48 +0200
commit7bd6ad24dc4b90ae0b7a9ed6673dfbc58cd200f3 (patch)
treeec602726df511206aad7d62fd03d593487f23fa0 /graphics/gerbv/gerbv.SlackBuild
parent9f58d9bb5b29354a820ddef422ea121bb1994d25 (diff)
graphics/gerbv: Updated for version 1.0.2
Diffstat (limited to 'graphics/gerbv/gerbv.SlackBuild')
-rw-r--r--graphics/gerbv/gerbv.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/graphics/gerbv/gerbv.SlackBuild b/graphics/gerbv/gerbv.SlackBuild
index 9421adbc591d2..b25f2ee860d6d 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