diff options
Diffstat (limited to 'network/surfraw')
-rw-r--r-- | network/surfraw/surfraw.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/network/surfraw/surfraw.SlackBuild b/network/surfraw/surfraw.SlackBuild index 37eb88548de4d..155818de262c3 100644 --- a/network/surfraw/surfraw.SlackBuild +++ b/network/surfraw/surfraw.SlackBuild @@ -22,9 +22,11 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20200111 bkw: Modified by SlackBuilds.org (to fix broken man symlinks) + PRGNAM=surfraw VERSION=${VERSION:-2.3.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch @@ -65,8 +67,10 @@ make install DESTDIR=$PKG mv $PKG/etc/xdg/surfraw/conf $PKG/etc/xdg/surfraw/conf.new mv $PKG/etc/xdg/surfraw/bookmarks $PKG/etc/xdg/surfraw/bookmarks.new -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# 20200111 bkw: upstream installs over 100 broken symlinks in the man dir, +# which point to nonexistent gzipped man pages. Turns out, if we gzip the +# ones that *aren't* symlinks, all is well. +find -L $PKG/usr/man -type f -exec gzip -9 {} + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |