summaryrefslogtreecommitdiffstats
path: root/desktop/wminfo/wminfo.SlackBuild
diff options
context:
space:
mode:
author Cezary M. Kruk <c.kruk@bigfoot.com>2012-12-09 12:13:32 +0100
committer dsomero <xgizzmo@slackbuilds.org>2012-12-11 16:23:04 -0500
commit94e740dba8935fb9b54a1429cca2be3f7da3a859 (patch)
tree6ee8a6aa735c648aa27497af25eab13588fdb683 /desktop/wminfo/wminfo.SlackBuild
parent28931e60b181c892ae5772ac196b47a1b919bf14 (diff)
downloadslackbuilds-94e740dba8935fb9b54a1429cca2be3f7da3a859.tar.gz
slackbuilds-94e740dba8935fb9b54a1429cca2be3f7da3a859.tar.xz
desktop/wminfo: Updated for version 4.0.0.
(/usr/bin gets flooded with binaries, seems there are no conflicts, at first sight --ponce) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/wminfo/wminfo.SlackBuild')
-rw-r--r--desktop/wminfo/wminfo.SlackBuild24
1 files changed, 17 insertions, 7 deletions
diff --git a/desktop/wminfo/wminfo.SlackBuild b/desktop/wminfo/wminfo.SlackBuild
index f30f5f0b28..06eb042909 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:-3.0.0}
+VERSION=${VERSION:-4.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,26 +54,36 @@ find . \
cd wminfo
./configure --prefix=/usr
- make FLAGS="$SLKCFLAGS"
- mkdir -p $PKG/usr/bin
- cp -a wminfo $PKG/usr/bin
-cd ..
+ 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.*
+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
mkdir -p $PKG/usr/man/man1
-cp -a doc/wminfo.1 $PKG/usr/man/man1
+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* TODO contrib plugins.* samples \
+ BUGS COPYING ChangeLog INSTALL Plugins-HOWTO README README.1st README.CPU.usage \
+ README.benchmarks README.colors README.multi+wrapper THANKS TODO \
+ contrib plugins.binary plugins.conky plugins.offline plugins.online \
+ plugins.system samples \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}