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