summaryrefslogtreecommitdiff
path: root/graphics/whyteboard/whyteboard.SlackBuild
diff options
context:
space:
mode:
authorJose Maria Marin Carceles <chemarister@gmail.com>2011-07-18 14:22:05 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:10 -0500
commit54a928111906ccfa15496b6aa40913330790622b (patch)
treee397462610fe0b7b9e68977e5369ac86174537ae /graphics/whyteboard/whyteboard.SlackBuild
parent0673e1db14680c3c16cf169c9136f12c75a2e860 (diff)
downloadslackbuilds-54a928111906ccfa15496b6aa40913330790622b.tar.gz
graphics/whyteboard: Updated for version 0.41.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/whyteboard/whyteboard.SlackBuild')
-rw-r--r--graphics/whyteboard/whyteboard.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/whyteboard/whyteboard.SlackBuild b/graphics/whyteboard/whyteboard.SlackBuild
index 94a88b4bc0..356e16a875 100644
--- a/graphics/whyteboard/whyteboard.SlackBuild
+++ b/graphics/whyteboard/whyteboard.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=whyteboard
-VERSION=${VERSION:-0.37.0}
+VERSION=${VERSION:-0.41.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -51,7 +49,6 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -62,19 +59,22 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
mkdir -p $PKG/usr/bin \
- $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM \
+ $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION/{images,locale,whyteboard} \
$PKG/usr/doc/$PRGNAM-$VERSION \
$PKG/usr/share/{applications,pixmaps}
-cp *.py $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
+cp *.py $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION
+cp -r images/ $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION
+cp -r locale/ $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION
+cp -r whyteboard $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION
cp *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp whyteboard-help/*.htm $PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG/usr/bin
-ln -s ../lib/$PRGNAM/whyteboard.py whyteboard
+ln -s ../lib$LIBDIRSUFFIX/$PRGNAM-$VERSION/whyteboard.py whyteboard
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop