summaryrefslogtreecommitdiffstats
path: root/office/unoconv
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-09-22 01:42:57 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:33:46 +0700
commita684b1aab8682ffb6ad118182cff260cd697f312 (patch)
tree3ff438219113c4dc5b59965aa222941b920be61e /office/unoconv
parent92857f1785fcb8064e2abe42f8a6a144fe2e3b98 (diff)
downloadslackbuilds-a684b1aab8682ffb6ad118182cff260cd697f312.tar.gz
slackbuilds-a684b1aab8682ffb6ad118182cff260cd697f312.tar.xz
office/unoconv: Get rid of /usr/man1 dir.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/unoconv')
-rw-r--r--office/unoconv/unoconv.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/office/unoconv/unoconv.SlackBuild b/office/unoconv/unoconv.SlackBuild
index 675de9054b..9de5c880ce 100644
--- a/office/unoconv/unoconv.SlackBuild
+++ b/office/unoconv/unoconv.SlackBuild
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230922 bkw: Modified by SlackBuilds.org: get rid of /usr/man1 in
+# the package (it was an empty dir, but it shouldn't be there at all).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unoconv
VERSION=${VERSION:-0.8.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -79,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin $PKG/usr/man1
+mkdir -p $PKG/usr/bin
install -D -m0755 unoconv $PKG/usr/bin
gzip -9 doc/$PRGNAM.1