aboutsummaryrefslogtreecommitdiff
path: root/desktop/wminfo/wminfo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wminfo/wminfo.SlackBuild')
-rw-r--r--desktop/wminfo/wminfo.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/wminfo/wminfo.SlackBuild b/desktop/wminfo/wminfo.SlackBuild
index 0960bbf647ac..a2fd0df1ac37 100644
--- a/desktop/wminfo/wminfo.SlackBuild
+++ b/desktop/wminfo/wminfo.SlackBuild
@@ -6,7 +6,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM=wminfo
-VERSION=${VERSION:-4.1.2}
+VERSION=${VERSION:-4.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,7 +50,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd wminfo
./configure --prefix=/usr
@@ -66,7 +66,7 @@ cp -a ../contrib/* $PKG/usr/bin
rm $PKG/usr/bin/README.*
cd -
-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
mkdir -p $PKG/usr/man/man1
@@ -74,12 +74,10 @@ cp -a man/wminfo.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man1/wminfo.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- BUGS COPYING ChangeLog INSTALL Plugins-HOWTO README README.1st README.CPU.usage \
+cp -a BUGS COPYING ChangeLog INSTALL Plugins-HOWTO README README.1st README.CPU.usage \
README.benchmarks README.colors README.multi+wrapper README.regex THANKS TODO \
contrib plugins.binary plugins.conky plugins.offline plugins.online \
- plugins.system samples \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ plugins.system samples $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install