summaryrefslogtreecommitdiff
path: root/system/htop/htop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/htop/htop.SlackBuild')
-rw-r--r--system/htop/htop.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/htop/htop.SlackBuild b/system/htop/htop.SlackBuild
index 8ae8511d6f..3051abe61e 100644
--- a/system/htop/htop.SlackBuild
+++ b/system/htop/htop.SlackBuild
@@ -24,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=htop
-VERSION=${VERSION:-0.8.2}
+VERSION=${VERSION:-0.8.3}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,6 +75,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+# remove empty directories
+rmdir $PKG/usr/{include,lib$LIBDIRSUFFIX}
+
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -90,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}