diff options
author | Glenn Becker <burningc@sdf.org> | 2014-05-22 09:27:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-22 09:27:37 +0700 |
commit | 112adccc8a3b531b32257dfcf3834ec805b37df9 (patch) | |
tree | cd5313eec1525f4d2837d95bd59dd37021587252 /system/lshw/lshw.SlackBuild | |
parent | f29635a5d1d1dae1ebe17655f169cda0e0be7ee1 (diff) |
system/lshw: Updated for version B.02.17.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 f798a749304df..a8a9e60f0c19c 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 |