aboutsummaryrefslogtreecommitdiff
path: root/system/inxi/inxi.SlackBuild
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2012-08-25 21:19:17 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-08-27 08:39:59 -0500
commit0ae285c9446098a4f6316836bb1ee9995b4ed57b (patch)
tree2ba3308dcb64fd5abad5e84c362f99acdcc62f5c /system/inxi/inxi.SlackBuild
parent9a4b49e292994951bf42f6b7b8b4026861a244cc (diff)
system/inxi: Updated for version 1.8.14.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/inxi/inxi.SlackBuild')
-rw-r--r--system/inxi/inxi.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/system/inxi/inxi.SlackBuild b/system/inxi/inxi.SlackBuild
index 1fa6789d82928..d4c7b9885f8db 100644
--- a/system/inxi/inxi.SlackBuild
+++ b/system/inxi/inxi.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for inxi
-# Copyright 2011 Binh Nguyen <binhnguyen@fastmail.fm>
+# Copyright 2011-2012 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=inxi
-VERSION=${VERSION:-1.7.14}
+VERSION=${VERSION:-1.8.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,8 +38,14 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG/usr/bin $OUTPUT
-gzip -d -c $CWD/$PRGNAM-$VERSION.gz > $PKG/usr/bin/$PRGNAM
-chmod 0755 $PKG/usr/bin/$PRGNAM
+mkdir -p $TMP/$PRGNAM-$VERSION
+cd $TMP/$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+chown -R root:root .
+chmod -R u+w,go+r-w,a+X-s .
+
+install -D -m 0755 inxi $PKG/usr/bin/inxi
+install -D -m 0644 inxi.8.gz $PKG/usr/man/man8/inxi.8.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild