system/chmsee: Updated for version 1.0.1

This commit is contained in:
Robby Workman 2010-05-11 22:26:31 +02:00 committed by Michiel van Wessem
parent ccd4daa81c
commit f69a75a9c7
3 changed files with 17 additions and 15 deletions

View file

@ -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

View file

@ -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"

View file

@ -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