diff options
Diffstat (limited to 'source/ap/neofetch/neofetch.SlackBuild')
-rwxr-xr-x | source/ap/neofetch/neofetch.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/ap/neofetch/neofetch.SlackBuild b/source/ap/neofetch/neofetch.SlackBuild index 82efec5d..821ceab8 100755 --- a/source/ap/neofetch/neofetch.SlackBuild +++ b/source/ap/neofetch/neofetch.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2020 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=neofetch VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -80,6 +80,12 @@ find . \ PREFIX=/usr MANDIR=/usr/man DESTDIR=$PKG make install || exit 1 +# MANDIR has been known to be ignored: +if [ -d $PKG/usr/share/man ]; then + mv $PKG/usr/share/man $PKG/usr + rmdir $PKG/usr/share +fi + # Compress and link manpages, if any: if [ -d $PKG/usr/man ]; then ( cd $PKG/usr/man |