summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/chmsee/chmsee.SlackBuild19
-rw-r--r--system/chmsee/chmsee.info8
-rw-r--r--system/chmsee/doinst.sh5
3 files changed, 17 insertions, 15 deletions
diff --git a/system/chmsee/chmsee.SlackBuild b/system/chmsee/chmsee.SlackBuild
index 2bfe2b055d..3078e2874b 100644
--- a/system/chmsee/chmsee.SlackBuild
+++ b/system/chmsee/chmsee.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for chmsee
-# Copyright 2007 Robby Workman - http://rlworkman.net
+# Copyright 2007-2008 Robby Workman - http://rlworkman.net
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chmsee
-VERSION=1.0.0
+VERSION=1.0.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -46,7 +47,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -60,14 +60,16 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --with-gecko=seamonkey \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-gzip -9 $PKG/usr/man/man?/*.?
+( cd $PKG/usr/man || exit 1
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@@ -75,7 +77,8 @@ gzip -9 $PKG/usr/man/man?/*.?
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS* README* TODO \
+cp -a \
+ AUTHORS COPYING ChangeLog INSTALL NEWS* README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
diff --git a/system/chmsee/chmsee.info b/system/chmsee/chmsee.info
index 3db15b3414..c23e1288b8 100644
--- a/system/chmsee/chmsee.info
+++ b/system/chmsee/chmsee.info
@@ -1,8 +1,8 @@
PRGNAM="chmsee"
-VERSION="1.0.0"
+VERSION="1.0.1"
HOMEPAGE="http://chmsee.gro.clinux.org/"
-DOWNLOAD="http://gro.clinux.org/frs/download.php/2040/chmsee-1.0.0.tar.gz"
-MD5SUM="65fddfe20f4a1537e539998201a0ccfd"
+DOWNLOAD="http://gro.clinux.org/frs/download.php/2245/chmsee-1.0.1.tar.gz"
+MD5SUM="0ea3d439ab240f12bc0f35632bbe114d"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="erik"
+APPROVED="Michiel"
diff --git a/system/chmsee/doinst.sh b/system/chmsee/doinst.sh
index 3412314ed0..65fd352418 100644
--- a/system/chmsee/doinst.sh
+++ b/system/chmsee/doinst.sh
@@ -1,5 +1,4 @@
-
-if [ -x usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi