diff options
author | Sergio Vicari <devteamtuc@gmail.com> | 2016-09-10 13:08:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-10 13:08:47 +0700 |
commit | 527415cb755848e657ad0d9d7d624b7ce27f9b70 (patch) | |
tree | f2e27e4ee084a6a041d7ae1fd70d94abc993ce41 /office | |
parent | 909c735a4be110d5f051416314bf207c0914a382 (diff) |
office/odt2txt: Updated for version 0.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/odt2txt/odt2txt.SlackBuild | 32 | ||||
-rw-r--r-- | office/odt2txt/odt2txt.info | 12 |
2 files changed, 32 insertions, 12 deletions
diff --git a/office/odt2txt/odt2txt.SlackBuild b/office/odt2txt/odt2txt.SlackBuild index 7a37299080b41..d5f43abba2e10 100644 --- a/office/odt2txt/odt2txt.SlackBuild +++ b/office/odt2txt/odt2txt.SlackBuild @@ -1,16 +1,36 @@ #!/bin/sh # Slackware build script for odt2txt -# Written by sercari <sercari@esdebian.org> + +# Copyright <2009-2016> <Sergio Vicari> <devteamtuc@gmail.com> +# 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=odt2txt -VERSION=${VERSION:-0.4} +VERSION=${VERSION:-0.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -21,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -64,7 +84,7 @@ rm -rf $PKG/usr/share ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a GPL-2 INSTALL $PKG/usr/doc/$PRGNAM-$VERSION +cp -a GPL-2 INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/office/odt2txt/odt2txt.info b/office/odt2txt/odt2txt.info index 1c5319d9dd4d5..431a4bbd7d6f2 100644 --- a/office/odt2txt/odt2txt.info +++ b/office/odt2txt/odt2txt.info @@ -1,10 +1,10 @@ PRGNAM="odt2txt" -VERSION="0.4" -HOMEPAGE="http://stosberg.net/odt2txt/" -DOWNLOAD="https://github.com/dstosberg/odt2txt/archive/v0.4.tar.gz" -MD5SUM="083872163713a5f9ab0b48c7c6c5557a" +VERSION="0.5" +HOMEPAGE="https://github.com/dstosberg/odt2txt" +DOWNLOAD="https://github.com/dstosberg/odt2txt/archive/v0.5.tar.gz" +MD5SUM="8154dc7f2909dad6939d209695e62379" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="sercari" -EMAIL="sercari@esdebian.org" +MAINTAINER="Sergio Vicari" +EMAIL="devteamtuc@gmail.com" |