desktop/xfce4-screenshooter-plugin: Updated for version 1.4.0

This commit is contained in:
Robby Workman 2010-05-11 22:22:10 +02:00 committed by Erik Hanson
parent 49dcc252bc
commit a55af724b1
3 changed files with 17 additions and 13 deletions

View File

@ -5,8 +5,8 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
xfce4-screenshooter-plugin: xfce4-screenshooter-plugin (screenshooter plugin for the Xfce panel)
|-----handy-ruler----------------------------------|
xfce4-screenshooter-plugin: screenshooter plugin for the Xfce panel
xfce4-screenshooter-plugin:
xfce4-screenshooter-plugin: The screenshooter plugin adds a panel button
xfce4-screenshooter-plugin: that allows you to take screenshots. It's

View File

@ -2,7 +2,7 @@
# Slackware build script for xfce4-screenshooter-plugin
# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
# Copyright 2006-2008 Robby Workman Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfce4-screenshooter-plugin
VERSION=1.0.0
VERSION=1.4.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e
@ -45,7 +47,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@ -58,17 +60,19 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
--enable-shared=yes \
--enable-static=no \
--enable-debug=no
--enable-debug=no \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \

View File

@ -1,8 +1,8 @@
PRGNAM="xfce4-screenshooter-plugin"
VERSION="1.0.0"
VERSION="1.4.0"
HOMEPAGE="http://goodies.xfce.org/"
DOWNLOAD="http://goodies.xfce.org/releases/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin-1.0.0.tar.bz2"
MD5SUM="d12746c635eb28207161a3da1585aa75"
DOWNLOAD="http://goodies.xfce.org/releases/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin-1.4.0.tar.gz"
MD5SUM="f12af1a7b809e887b530ade3d7042caa"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="Erik Hanson"