aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIskar Enev <iskar.enev[@]gmail.com>2010-05-12 17:45:29 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:45:29 +0200
commit2a9bdfe43211885f61972db0729f7731691fd076 (patch)
tree8885538af04ac20b5f86c8f925285edbf78d4a5e
parent85baeb20e1ccc3ceb113320d5740f21fea338b9c (diff)
system/lshw: Updated for version B.02.14
-rw-r--r--system/lshw/doinst.sh6
-rw-r--r--system/lshw/gtk-lshw.desktop4
-rw-r--r--system/lshw/lshw.SlackBuild12
-rw-r--r--system/lshw/lshw.info6
-rw-r--r--system/lshw/slack-desc4
5 files changed, 19 insertions, 13 deletions
diff --git a/system/lshw/doinst.sh b/system/lshw/doinst.sh
index 355542bb84e6d..1f8ff67dedb29 100644
--- a/system/lshw/doinst.sh
+++ b/system/lshw/doinst.sh
@@ -1,6 +1,10 @@
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/system/lshw/gtk-lshw.desktop b/system/lshw/gtk-lshw.desktop
index 4508355786e88..063fccd04efdd 100644
--- a/system/lshw/gtk-lshw.desktop
+++ b/system/lshw/gtk-lshw.desktop
@@ -1,10 +1,8 @@
[Desktop Entry]
Name=LSHW
Comment=HardWare LiSter
-Categories=Application;System;
+Categories=System;
Icon=/usr/share/lshw/artwork/logo.svg
Exec=/usr/sbin/gtk-lshw
Type=Application
Terminal=false
-Encoding=UTF-8
-
diff --git a/system/lshw/lshw.SlackBuild b/system/lshw/lshw.SlackBuild
index 8dcaa85c98c0d..ce3d38389a4d6 100644
--- a/system/lshw/lshw.SlackBuild
+++ b/system/lshw/lshw.SlackBuild
@@ -4,7 +4,7 @@
# Written by Iskar Enev <iskar.enev[@]gmail.com>
PRGNAM=lshw
-VERSION=B.02.13
+VERSION=B.02.14
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,8 +42,10 @@ make install DESTDIR=$PKG
make install-gui DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -55,7 +57,9 @@ mkdir -p $PKG/usr/share/applications
cat $CWD/gtk-lshw.desktop > $PKG/usr/share/applications/gtk-lshw.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a docs/* COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ docs/* COPYING README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/lshw/lshw.info b/system/lshw/lshw.info
index dd835a308698d..3c757c92d0f1c 100644
--- a/system/lshw/lshw.info
+++ b/system/lshw/lshw.info
@@ -1,8 +1,8 @@
PRGNAM="lshw"
-VERSION="B.02.13"
+VERSION="B.02.14"
HOMEPAGE="http://ezix.org/project/wiki/HardwareLiSter"
-DOWNLOAD="http://ezix.org/software/files/lshw-B.02.13.tar.gz"
-MD5SUM="e94c728ed037ca706436b5ef71aa392d"
+DOWNLOAD="http://ezix.org/software/files/lshw-B.02.14.tar.gz"
+MD5SUM="8bed55768c5cb2ceff062b882a687e9b"
MAINTAINER="Iskar Enev"
EMAIL="<iskar.enev[@]gmail.com>"
APPROVED="rworkman"
diff --git a/system/lshw/slack-desc b/system/lshw/slack-desc
index d4f134373caa7..6248f2635a39e 100644
--- a/system/lshw/slack-desc
+++ b/system/lshw/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler-------------------------------------------------------|
+ |-----handy-ruler---------------------------------------------------------|
lshw: lshw (Hardware Lister)
lshw:
lshw: lshw (Hardware Lister) is a small tool to provide detailed information
@@ -15,5 +15,5 @@ lshw: version and speed, cache configuration, bus speed, etc. on
lshw: DMI-capable x86 or EFI (IA-64) systems and on some PowerPC machines
lshw: (PowerMac G4 is known to work).
lshw:
-lshw:
+lshw: Homepage: http://ezix.org/project/wiki/HardwareLiSter
lshw: