aboutsummaryrefslogtreecommitdiff
path: root/desktop/wminfo/wminfo.SlackBuild
diff options
context:
space:
mode:
authorCezary M. Kruk <c.kruk@bigfoot.com>2012-07-30 00:48:32 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-07-30 00:48:32 -0500
commit7909f3226466d51fea0f7987597e7bf0b20f3742 (patch)
tree33f677b03d582ebb5b2eaed53d1e61963bad9740 /desktop/wminfo/wminfo.SlackBuild
parent51a4ceddddd7153f0fc75b417481dbc1f5d91788 (diff)
desktop/wminfo: Updated for version 3.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/wminfo/wminfo.SlackBuild')
-rw-r--r--desktop/wminfo/wminfo.SlackBuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/desktop/wminfo/wminfo.SlackBuild b/desktop/wminfo/wminfo.SlackBuild
index ed0889dc97e6..f30f5f0b28ed 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