diff options
Diffstat (limited to 'misc/wcd/wcd.SlackBuild')
-rw-r--r-- | misc/wcd/wcd.SlackBuild | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/misc/wcd/wcd.SlackBuild b/misc/wcd/wcd.SlackBuild index 1221ebf9f6..c586e07519 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 |