diff options
-rw-r--r-- | office/focuswriter/focuswriter.SlackBuild | 39 | ||||
-rw-r--r-- | office/focuswriter/focuswriter.info | 6 |
2 files changed, 32 insertions, 13 deletions
diff --git a/office/focuswriter/focuswriter.SlackBuild b/office/focuswriter/focuswriter.SlackBuild index ff3984b40e..6354207388 100644 --- a/office/focuswriter/focuswriter.SlackBuild +++ b/office/focuswriter/focuswriter.SlackBuild @@ -2,10 +2,28 @@ # Slackware build script for focuswriter -# Written by Giuseppe Scalzi <snakeeater89[at]gmail[dot]com> +# Copyright 2014 Scalzi Giuseppe Switzerland +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=focuswriter -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,12 +62,11 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2 cd $PRGNAM-$VERSION -chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; qmake PREFIX=/usr make @@ -59,11 +76,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING INSTALL README ChangeLog \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING INSTALL README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv $PKG/usr/share/man $PKG/usr +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/office/focuswriter/focuswriter.info b/office/focuswriter/focuswriter.info index 471f59cb13..46394ef6d8 100644 --- a/office/focuswriter/focuswriter.info +++ b/office/focuswriter/focuswriter.info @@ -1,8 +1,8 @@ PRGNAM="focuswriter" -VERSION="1.4.0" +VERSION="1.5.3" HOMEPAGE="http://gottcode.org/focuswriter/" -DOWNLOAD="http://gottcode.org/focuswriter/focuswriter-1.4.0-src.tar.bz2" -MD5SUM="a8ced83a2e8ded35e9f415a33eaa1bc6" +DOWNLOAD="http://gottcode.org/focuswriter/focuswriter-1.5.3-src.tar.bz2" +MD5SUM="1821804c688791cb2843199fa8add164" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |