aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmclock/wmclock.SlackBuild
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/wmclock/wmclock.SlackBuild
parentbbc711b83636557f6f02bde25851283e24e7a309 (diff)
desktop/wmclock: Updated for version 1.0.14.
Diffstat (limited to 'desktop/wmclock/wmclock.SlackBuild')
-rw-r--r--desktop/wmclock/wmclock.SlackBuild19
1 files changed, 9 insertions, 10 deletions
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}