office/docx2txt: New maintainer.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-08-12 15:57:10 -04:00 committed by Willy Sudiarto Raharjo
parent 28fe8403d1
commit 8732442cc0
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 21 additions and 35 deletions

View file

@ -2,38 +2,27 @@
# Slackware build script for docx2txt
# Copyright 2014 Phillip Warner <pc_warner@yahoo.com>, USA
# 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.
# Originally written by Phillip Warner <email removed>.
# Modified and now maintained by B. Watson <urchlay@slackware.uk>.
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20240812 bkw: BUILD=2
# - take over maintenance.
# - remove a couple useless files from doc dir.
# This software hasn't been maintained upstream in 10 years, but it
# seems to still be useful.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=docx2txt
VERSION=${VERSION:-1.4}
ARCH=noarch
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -54,18 +43,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
mkdir -p $PKG/usr/bin \
$PKG/etc \
$PKG/usr/man/man1 \
$PKG/usr/doc/$PRGNAM-$VERSION \
$PKG/install
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install $PKGDOC
install -m 0755 docx2txt.pl $PKG/usr/bin/docx2txt
install -m 0644 docx2txt.config $PKG/etc/docx2txt.config.new
install -m 0644 $CWD/docx2txt.1.gz $PKG/usr/man/man1/docx2txt.1.gz
install -m 0644 AUTHORS COPYING ChangeLog README ToDo $PKG/usr/doc/$PRGNAM-$VERSION/
install -D -m 0755 docx2txt.pl $PKG/usr/bin/docx2txt
install -D -m 0644 docx2txt.config $PKG/etc/docx2txt.config.new
install -D -m 0644 $CWD/docx2txt.1.gz $PKG/usr/man/man1/docx2txt.1.gz
install -m 0644 AUTHORS COPYING ChangeLog README ToDo $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

View file

@ -6,5 +6,5 @@ MD5SUM="780f468c16d547b02723b98aadc52c63"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Phillip Warner"
EMAIL="pc_warner@yahoo.com"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"