graphics/mirage: Updated for version 0.9.3

This commit is contained in:
nobody 2010-05-12 17:40:00 +02:00 committed by Robby Workman
parent 357e0acdaf
commit 416534e608
5 changed files with 29 additions and 29 deletions

View file

@ -1,4 +1,3 @@
Mirage is a fast and simple GTK+ image viewer. Because
it depends only on PyGTK, Mirage is ideal for users who
wish to keep their computers lean while still having a
clean image viewer.
Mirage is a fast and simple GTK+ image viewer. Because it depends only
on PyGTK, Mirage is ideal for users who wish to keep their computers
lean while still having a clean image viewer.

View file

@ -1,3 +1,4 @@
if [ -x /usr/bin/update-desktop-database ]; then
./usr/bin/update-desktop-database -q usr/share/applications
/usr/bin/update-desktop-database -q usr/share/applications
fi

View file

@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mirage
VERSION=0.9.3
VERSION=${VERSION:-0.9.3}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -33,8 +33,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="CHANGELOG COPYING README TODO TRANSLATORS"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
@ -43,13 +41,14 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -59,8 +58,8 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
python setup.py build || exit 1
python setup.py install --root $PKG || exit 1
python setup.py install --root $PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@ -68,13 +67,14 @@ python setup.py install --root $PKG || exit 1
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
for i in CHANGELOG COPYING README TODO TRANSLATORS ; do
ln -s /usr/share/mirage/$i $PKG/usr/doc/$PRGNAM-$VERSION/$i ;
done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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.tgz

View file

@ -3,6 +3,6 @@ VERSION="0.9.3"
HOMEPAGE="http://mirageiv.berlios.de/"
DOWNLOAD="http://download.berlios.de/mirageiv/mirage-0.9.3.tar.bz2"
MD5SUM="87bd8b8de578f34f4028073ecfa43474"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="David Somero"
MAINTAINER="nobody"
EMAIL="nobody@nowhere"
APPROVED="rworkman"

View file

@ -1,19 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
mirage: Mirage (GTK+ Image Viewer)
mirage:
mirage: Mirage is a fast and simple GTK+ image viewer. Because
mirage: it depends only on PyGTK, Mirage is ideal for users who
mirage: wish to keep their computers lean while still having a
mirage: clean image viewer.
mirage: Mirage is a fast and simple GTK+ image viewer. Because it depends only
mirage: on PyGTK, Mirage is ideal for users who wish to keep their computers
mirage: lean while still having a clean image viewer.
mirage:
mirage: Homepage: http://mirageiv.berlios.de/
mirage:
mirage:
mirage:
mirage: