summaryrefslogtreecommitdiff
path: root/source/ap
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-09-08 18:07:38 +0000
committerEric Hameleers <alien@slackware.com>2021-09-09 09:04:32 +0200
commitcada39317fcfe1000587376592683296bacba210 (patch)
tree83aa62ae34dc117edb4cd57ddd36d93aec6d008a /source/ap
parent4dd4c9a5264cc35f72ce046382f26fe4ee715f60 (diff)
downloadcurrent-cada39317fcfe1000587376592683296bacba210.tar.gz
Wed Sep 8 18:07:38 UTC 202120210908180738
a/kernel-generic-5.14.2-x86_64-1.txz: Upgraded. a/kernel-huge-5.14.2-x86_64-1.txz: Upgraded. a/kernel-modules-5.14.2-x86_64-1.txz: Upgraded. ap/inxi-20210824_73d96439-noarch-1.txz: Upgraded. ap/neofetch-20210904_77f2afc3-noarch-1.txz: Upgraded. d/bison-3.8-x86_64-1.txz: Upgraded. d/kernel-headers-5.14.2-x86-1.txz: Upgraded. d/python-setuptools-58.0.3-x86_64-1.txz: Upgraded. k/kernel-source-5.14.2-noarch-1.txz: Upgraded. n/wget-1.21.2-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/ap')
-rwxr-xr-xsource/ap/neofetch/neofetch.SlackBuild10
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