summaryrefslogtreecommitdiff
path: root/graphics/whyteboard/whyteboard.SlackBuild
diff options
context:
space:
mode:
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