diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/lshw/doinst.sh | 6 | ||||
-rw-r--r-- | system/lshw/gtk-lshw.desktop | 4 | ||||
-rw-r--r-- | system/lshw/lshw.SlackBuild | 12 | ||||
-rw-r--r-- | system/lshw/lshw.info | 6 | ||||
-rw-r--r-- | system/lshw/slack-desc | 4 |
5 files changed, 19 insertions, 13 deletions
diff --git a/system/lshw/doinst.sh b/system/lshw/doinst.sh index 355542bb84..1f8ff67ded 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 4508355786..063fccd04e 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 8dcaa85c98..ce3d38389a 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 dd835a3086..3c757c92d0 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 d4f134373c..6248f2635a 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: |