diff options
Diffstat (limited to 'desktop/wmclock/wmclock.SlackBuild')
-rw-r--r-- | desktop/wmclock/wmclock.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/desktop/wmclock/wmclock.SlackBuild b/desktop/wmclock/wmclock.SlackBuild index 95a8274d51..bbfa620218 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} |