From cd4cf90c0a77ae563adbb7b44c16d09790600931 Mon Sep 17 00:00:00 2001 From: slakmagik Date: Fri, 28 Jan 2011 23:46:06 -0500 Subject: system/heirloom-sh: Miscellaneous cleanups Comment why there's no strip code. Fix indentation. Remove trailing empty line from the info file. Signed-off-by: Robby Workman --- system/heirloom-sh/heirloom-sh.SlackBuild | 3 ++- system/heirloom-sh/heirloom-sh.info | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'system/heirloom-sh') diff --git a/system/heirloom-sh/heirloom-sh.SlackBuild b/system/heirloom-sh/heirloom-sh.SlackBuild index 86ba98b12b..8e8c518f4a 100644 --- a/system/heirloom-sh/heirloom-sh.SlackBuild +++ b/system/heirloom-sh/heirloom-sh.SlackBuild @@ -59,11 +59,12 @@ sed -i~ "/^CFLAGS=/s:-O:$SLKCFLAGS:;/^ROOT=/s:$:$PKG:" makefile # 3. make static changes to the manpage with sed (easier maintenance) sed -i~ 's/\/h&/g;s/\/Hsh/g;s/\\fBsh\\fR/\\fBhsh\\fR/' sh.1 +# the makefile autostrips make install 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 + ln -s $(readlink $i).gz $i.gz; rm $i done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/heirloom-sh/heirloom-sh.info b/system/heirloom-sh/heirloom-sh.info index d87568a203..124a24d8ce 100644 --- a/system/heirloom-sh/heirloom-sh.info +++ b/system/heirloom-sh/heirloom-sh.info @@ -8,4 +8,3 @@ MD5SUM_x86_64="" MAINTAINER="slakmagik" EMAIL="slakmagik@gmail.com" APPROVED="Niels Horn" - -- cgit v1.2.3