aboutsummaryrefslogtreecommitdiff
path: root/misc/wcd/wcd.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-12-19 19:24:31 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:34 +0700
commitc672db15b7b1dd8d70997324e681a57c48d8bf5b (patch)
tree62103a1e39d07c11b89c455b3e8d72ae5fb04eeb /misc/wcd/wcd.SlackBuild
parentc1c486d79b3e5144f0a0bde4aa5ca29e2e721ba2 (diff)
misc/wcd: Updated for version 6.0.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'misc/wcd/wcd.SlackBuild')
-rw-r--r--misc/wcd/wcd.SlackBuild16
1 files changed, 14 insertions, 2 deletions
diff --git a/misc/wcd/wcd.SlackBuild b/misc/wcd/wcd.SlackBuild
index 1221ebf9f660f..c586e075192ce 100644
--- a/misc/wcd/wcd.SlackBuild
+++ b/misc/wcd/wcd.SlackBuild
@@ -1,7 +1,11 @@
#!/bin/sh
+
# Slackware build script for wcd
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Originally written by:
+# Ryan P.C. McQuen <email removed>
+
+# Now maintained by B. Watson <yalhcru@gmail.com>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,8 +25,11 @@
# with this program (most likely, a file named COPYING). If not, see
# <https://www.gnu.org/licenses/>.
+# 20171219 bkw: updated for v6.0.1. also, add /etc/profile.d scripts
+# so wcd actually *works*.
+
PRGNAM=wcd
-VERSION=${VERSION:-6.0.0}
+VERSION=${VERSION:-6.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -91,6 +98,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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 ; done
+# profile.d scripts, installed executable (like mc does).
+mkdir -p $PKG/etc/profile.d/
+install -m0755 -oroot -groot \
+ $CWD/$PRGNAM.sh $CWD/$PRGNAM.csh $PKG/etc/profile.d/
+
cp -a ../doc/INSTALL.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild