aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-11-10 16:56:16 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-14 07:07:23 +0700
commitd817074df8da14299ee608af4bc2cb0920bf9d81 (patch)
tree4b397e4a482eaccbfa721a124de15af5a619385a /desktop
parentbbc711b83636557f6f02bde25851283e24e7a309 (diff)
desktop/wmclock: Updated for version 1.0.14.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wmclock/README6
-rw-r--r--desktop/wmclock/slack-desc4
-rw-r--r--desktop/wmclock/wmclock.SlackBuild19
-rw-r--r--desktop/wmclock/wmclock.info6
4 files changed, 17 insertions, 18 deletions
diff --git a/desktop/wmclock/README b/desktop/wmclock/README
index fc33f80b8e95..8fe9495c5030 100644
--- a/desktop/wmclock/README
+++ b/desktop/wmclock/README
@@ -8,9 +8,9 @@ can run a user-specified program on a mouse click.
wmclock can display the month and weekday abbreviations in any of these
languages:
-breton czech danish dutch english french french2 german hungarian indonesian
-italian norwegian portuguese russian slovene spanish swedish ukrainian
-polish croatian
+breton croatian czech danish dutch english french french2 german
+hungarian indonesian italian norwegian polish portuguese russian
+slovene spanish swedish ukrainian
To set the default language, set LANGUAGE to one of the above in the
environment before running wmclock.SlackBuild, e.g.
diff --git a/desktop/wmclock/slack-desc b/desktop/wmclock/slack-desc
index 16537799e21b..fbe9048e55d1 100644
--- a/desktop/wmclock/slack-desc
+++ b/desktop/wmclock/slack-desc
@@ -12,8 +12,8 @@ wmclock: wmclock is an applet which displays the date and time in a dockable
wmclock: tile in the same style as the clock from the NEXTSTEP(tm) operating
wmclock: system. wmclock is specially designed for the Window Maker window
wmclock: manager, by Alfredo Kojima, and features multiple language support,
-wmclock: twenty-four-hour and twelve-hour (am/pm) time display, and, optionally,
+wmclock: twenty-four-hour and twelve-hour (am/pm) time display, and optionally
wmclock: can run a user-specified program on a mouse click.
wmclock:
-wmclock:
+wmclock: This package's default language is: @LANGUAGE@
wmclock:
diff --git a/desktop/wmclock/wmclock.SlackBuild b/desktop/wmclock/wmclock.SlackBuild
index 95a8274d51db..bbfa62021843 100644
--- a/desktop/wmclock/wmclock.SlackBuild
+++ b/desktop/wmclock/wmclock.SlackBuild
@@ -6,8 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20151110 bkw:
+# - finally got around to upgrading to 1.0.14.
+# - added default language in slack-desc.
+
PRGNAM=wmclock
-VERSION=${VERSION:-1.0.13}
+VERSION=${VERSION:-1.0.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,18 +61,13 @@ find -L . \
# Default is english. It's still possible to display in other
# languages using the -monthxpm and -weekdayxpm options.
-# Language choices:
-# breton czech danish dutch english french french2 german hungarian indonesian
-# italian norwegian portuguese russian slovene spanish swedish ukrainian
-
LANGUAGE=${LANGUAGE:-english}
./configure --lang $LANGUAGE
-make CDEBUGFLAGS="$SLKCFLAGS"
+make CDEBUGFLAGS="$SLKCFLAGS" PREFIX=/usr
mkdir -p $PKG/usr/bin
-strip --strip-unneeded $PRGNAM
-install -m0755 -o root -g root $PRGNAM $PKG/usr/bin
-make install.share DESTDIR=$PKG
+install -s -m0755 -o root -g root $PRGNAM $PKG/usr/bin
+make install.share DESTDIR=$PKG PREFIX=/usr
mkdir -p $PKG/usr/man/man1
gzip -9c $PRGNAM.man > $PKG/usr/man/man1/$PRGNAM.1.gz
@@ -78,7 +77,7 @@ cp README COPYING ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@LANGUAGE@,$LANGUAGE," $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/desktop/wmclock/wmclock.info b/desktop/wmclock/wmclock.info
index 5ae058421298..fad3ff31d471 100644
--- a/desktop/wmclock/wmclock.info
+++ b/desktop/wmclock/wmclock.info
@@ -1,8 +1,8 @@
PRGNAM="wmclock"
-VERSION="1.0.13"
+VERSION="1.0.14"
HOMEPAGE="http://www.bluestop.org/wmclock/"
-DOWNLOAD="http://www.bluestop.org/wmclock/wmclock-1.0.13.tar.gz"
-MD5SUM="e0ce24c2fe700351b1e917dd63dff7f0"
+DOWNLOAD="http://www.bluestop.org/wmclock/wmclock-1.0.14.tar.gz"
+MD5SUM="15a83f45e2baabec26b22a2153aa2417"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""