aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmSun
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmSun')
-rw-r--r--desktop/wmSun/wmSun.SlackBuild20
-rw-r--r--desktop/wmSun/wmSun.info10
2 files changed, 10 insertions, 20 deletions
diff --git a/desktop/wmSun/wmSun.SlackBuild b/desktop/wmSun/wmSun.SlackBuild
index db34d8dfd32a..233f352dea15 100644
--- a/desktop/wmSun/wmSun.SlackBuild
+++ b/desktop/wmSun/wmSun.SlackBuild
@@ -6,16 +6,14 @@
# Modified by the SlackBuilds.org project.
PRGNAM=wmSun
-VERSION=${VERSION:-1.03}
+VERSION=${VERSION:-1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -54,16 +52,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# We have to "make clean" first, because guess what's in there already?
-# wmSun: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
-# dynamically linked (uses shared libs), not stripped
-# Anyone want to guess how that ends on an x86_64 system? :-)
-
cd wmSun
mkdir -p $PKG/usr/{bin,man/man1}
- make clean
make \
- CFLAGS="$SLKCFLAGS" \
+ COPTS="$SLKCFLAGS" \
INCDIR="-I/usr/include/X11" \
LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11"
make install DESTDIR=$PKG/usr
@@ -72,13 +64,11 @@ 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
-( 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/doc/$PRGNAM-$VERSION
-cp -a BUGS COPYING TODO \
+cp -a COPYING ChangeLog INSTALL README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/desktop/wmSun/wmSun.info b/desktop/wmSun/wmSun.info
index 951b4069fa23..e95cd1774fd9 100644
--- a/desktop/wmSun/wmSun.info
+++ b/desktop/wmSun/wmSun.info
@@ -1,10 +1,10 @@
PRGNAM="wmSun"
-VERSION="1.03"
-HOMEPAGE="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/time.html#wmsun"
-DOWNLOAD="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmSun-1.03.tar.gz"
-MD5SUM="defc6747ebdb64b5d3afe91f916d3acc"
+VERSION="1.10"
+HOMEPAGE="http://linux-bsd-unix.strefa.pl/"
+DOWNLOAD="http://linux-bsd-unix.strefa.pl/wmSun-1.10.tar.gz"
+MD5SUM="6181477de4811f2940bdc45d8b791c12"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Cezary M. Kruk"
EMAIL="c.kruk@bigfoot.com"
-APPROVED="rworkman"
+APPROVED="Niels Horn"