aboutsummaryrefslogtreecommitdiff
path: root/development/p4/p4.SlackBuild
diff options
context:
space:
mode:
authorDavid Sullins <david.sullins@gmail.com>2016-10-13 13:11:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-13 13:11:36 +0700
commit1faff90b6e63f3190fa7bdcb72268e1c30cc993c (patch)
tree1f0a531b939dcf7e9a29813c296fa742d6aee765 /development/p4/p4.SlackBuild
parent7f44ba9145de73395c653cf58b965d7efe16475f (diff)
development/p4: Updated for version 2016.1.1443785.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/p4/p4.SlackBuild')
-rw-r--r--development/p4/p4.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/development/p4/p4.SlackBuild b/development/p4/p4.SlackBuild
index 4da98d5279e3f..c7986817812b0 100644
--- a/development/p4/p4.SlackBuild
+++ b/development/p4/p4.SlackBuild
@@ -1,11 +1,11 @@
#!/bin/sh
# Slackware build script for p4
-# Manpage from: http://www.perforce.com/perforce/doc.052/man/p4.1
# Written by Andy Bailey <GooseYArd@gmail.com>
+# Modified by David Sullins <david.sullins@gmail.com>
PRGNAM=p4
-VERSION=${VERSION:-2016.1.1411799}
+VERSION=${VERSION:-2016.1.1443785}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,13 +25,11 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
mkdir -p $TMP $PKG $OUTPUT
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1
-cp $CWD/p4 $PKG/usr/bin
-gzip -9 -c < $CWD/p4.man > $PKG/usr/man/man1/p4.1.gz
+mkdir -p $PKG/usr/bin
+cp $CWD/$PRGNAM $PKG/usr/bin
-chown root:root $PKG/usr/bin/p4 $PKG/usr/man/man1/p4.1.gz
-chmod 0755 $PKG/usr/bin/p4
-chmod 0644 $PKG/usr/man/man1/p4.1.gz
+chown root:root $PKG/usr/bin/$PRGNAM
+chmod 0755 $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc