diff options
Diffstat (limited to 'desktop/wmstickynotes')
-rw-r--r-- | desktop/wmstickynotes/README | 17 | ||||
-rw-r--r-- | desktop/wmstickynotes/wmstickynotes.SlackBuild | 16 |
2 files changed, 22 insertions, 11 deletions
diff --git a/desktop/wmstickynotes/README b/desktop/wmstickynotes/README index ad93b98952..2af3c9ff46 100644 --- a/desktop/wmstickynotes/README +++ b/desktop/wmstickynotes/README @@ -1,17 +1,18 @@ wmstickynotes ------------- -This program is a Window Maker style dockapp which allows you to create note -windows. +This program is a Window Maker style dockapp which allows you to +create note windows. -By default, the notes, along with their position, size, and color, -are stored in files and will be restored when wmstickynotes is run again. +By default, the notes, along with their position, size, and color, are +stored in files and will be restored when wmstickynotes is run again. USAGE: -+ Left click the note icon to create a new note with the default color (yellow). -+ Right click the note icon to get a menu of colors, selecting one of which will -create a new note of that color. ++ Left click the note icon to create a new note with the default color + (yellow). ++ Right click the note icon to get a menu of colors, selecting one of + which will create a new note of that color. + Click the x in the top right of a note to delete it. + Drag the bottom right corner of a note to resize it. + Right click a note to get a popup menu where you can change its color, -cut/paste, etc. + cut/paste, etc. diff --git a/desktop/wmstickynotes/wmstickynotes.SlackBuild b/desktop/wmstickynotes/wmstickynotes.SlackBuild index ce2c0e9591..8db37bc045 100644 --- a/desktop/wmstickynotes/wmstickynotes.SlackBuild +++ b/desktop/wmstickynotes/wmstickynotes.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for wmstickynotes @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wmstickynotes VERSION=${VERSION:-0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -98,4 +108,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |