haskell/ghc: Install the man page in the correct place.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-11 21:52:22 +01:00 committed by Willy Sudiarto Raharjo
parent 8d5cb098aa
commit 3da23b14ef
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -145,7 +145,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# If docs were not built and installed, let's install the prebuilt manpage
# (taken from the prebuilt tarball)
if [ ! -d $PKG/usr/man ]; then
install -D -m0644 $CWD/ghc.1 $PKG/usr/man/man1
install -D -m0644 $CWD/ghc.1 $PKG/usr/man/man1/ghc.1
fi
# Install the bash completion file too