summaryrefslogtreecommitdiff
path: root/system/lbench/lbench.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-12-25 14:57:53 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-27 20:12:22 -0200
commitab625c13e18563acd2a4477be70a31320f1e52a7 (patch)
tree67682f14494d53ca6aaeec32e8f5112b9d1c4b99 /system/lbench/lbench.SlackBuild
parent32fe8e4cbf656a3c4aee1fd3e43bb0a55350e958 (diff)
downloadslackbuilds-ab625c13e18563acd2a4477be70a31320f1e52a7.tar.gz
system/lbench: Updated for version 1.6.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/lbench/lbench.SlackBuild')
-rw-r--r--system/lbench/lbench.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/lbench/lbench.SlackBuild b/system/lbench/lbench.SlackBuild
index 6fe8ea6440..0cebcd543a 100644
--- a/system/lbench/lbench.SlackBuild
+++ b/system/lbench/lbench.SlackBuild
@@ -4,10 +4,10 @@
# simple Linux multithread benchmarking tool
# Written by Niels Horn <niels.horn@gmail.com>
-# Revision date 2010/06/01
+# Revision date 2010/12/23
PRGNAM=lbench
-VERSION=${VERSION:-1.5}
+VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -15,7 +15,6 @@ if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -71,6 +70,7 @@ mkdir -p $PKG/usr/share/{applications,pixmaps}
cat desktop | \
sed -e "s|/usr/local/bin/lbench|lbench|" \
-e "s|/usr/local/share/lbench/icons/lbench.png|lbench|" \
+ -e "s|^# ||g" \
> $PKG/usr/share/applications/$PRGNAM.desktop
cp icons/$PRGNAM.png $PKG/usr/share/pixmaps/