aboutsummaryrefslogtreecommitdiff
path: root/development/p4/p4.SlackBuild
diff options
context:
space:
mode:
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 4da98d5279e3..c7986817812b 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