diff options
Diffstat (limited to 'system/lshw/lshw.SlackBuild')
-rw-r--r-- | system/lshw/lshw.SlackBuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/system/lshw/lshw.SlackBuild b/system/lshw/lshw.SlackBuild index f798a74930..a8a9e60f0c 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.16 +VERSION=${VERSION:-B.02.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,21 +58,17 @@ RPM_OPT_FLAGS="$SLKCFLAGS" MANDIR="/usr/man" make gui make install DESTDIR=$PKG make install-gui DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done 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 |