diff options
Diffstat (limited to 'desktop/wminfo/wminfo.SlackBuild')
-rw-r--r-- | desktop/wminfo/wminfo.SlackBuild | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/desktop/wminfo/wminfo.SlackBuild b/desktop/wminfo/wminfo.SlackBuild index ed0889dc97..f30f5f0b28 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:-2.6.0} +VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,16 +54,10 @@ find . \ cd wminfo ./configure --prefix=/usr - make \ - LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11" \ - FLAGS="$SLKCFLAGS" - -# Copy executable to the correct location -mkdir -p $PKG/usr/bin -cp -a wminfo $PKG/usr/bin -cp -a ../contrib/* $PKG/usr/bin -rm $PKG/usr/bin/README.contrib -cd - + make FLAGS="$SLKCFLAGS" + mkdir -p $PKG/usr/bin + cp -a wminfo $PKG/usr/bin +cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -74,8 +68,7 @@ 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.Privacy TODO \ - contrib plugins.conky plugins.offline plugins.online plugins.system samples \ + BUGS COPYING ChangeLog INSTALL Plugins-HOWTO README* TODO contrib plugins.* samples \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |