mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/chmsee: Updated for version 1.0.1
This commit is contained in:
parent
ccd4daa81c
commit
f69a75a9c7
3 changed files with 17 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue