summaryrefslogtreecommitdiff
path: root/system/lbench/lbench.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-04-24 12:33:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-29 12:51:26 +0700
commitd90d5dae6b10881fa6d438797398af76caba750b (patch)
treec0f7f9fead4b0a47792265ef51426fd0e03eba2e /system/lbench/lbench.SlackBuild
parent4dc858bdaa73e9fe1a92a9185b73f2ce493dec2e (diff)
downloadslackbuilds-d90d5dae6b10881fa6d438797398af76caba750b.tar.gz
system/lbench: Updated for version 3.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/lbench/lbench.SlackBuild')
-rw-r--r--system/lbench/lbench.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/lbench/lbench.SlackBuild b/system/lbench/lbench.SlackBuild
index 1b620a8ffd..a09c61f354 100644
--- a/system/lbench/lbench.SlackBuild
+++ b/system/lbench/lbench.SlackBuild
@@ -26,7 +26,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=lbench
-VERSION=${VERSION:-3.3}
+VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -97,10 +97,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/{applications,pixmaps}
-cat desktop | \
- sed -e "s|/usr/bin/lbench|lbench|" \
- -e "s|/usr/share/lbench/icons/lbench.png|lbench|" \
- > $PKG/usr/share/applications/$PRGNAM.desktop
+sed -i \
+ -e "s|/usr/bin/lbench|lbench|" \
+ -e "s|/usr/share/lbench/icons/lbench.png|lbench|" \
+ $PKG/usr/share/applications/$PRGNAM.desktop
cp icons/$PRGNAM.png $PKG/usr/share/pixmaps/
mkdir -p $PKG/install