diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-31 11:44:19 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:18:47 +0700 |
commit | 3511400cf892d2561e7e3edebac5a4dbd206641d (patch) | |
tree | 20fcdd44a3fe4a27c61a7897c9713417e4a173f8 /development | |
parent | 438f83264877ca9b3516c3d3c58326170a368130 (diff) | |
download | slackbuilds-3511400cf892d2561e7e3edebac5a4dbd206641d.tar.gz |
development/CVSTools: Move cvslib.pl to private dir.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/CVSTools/CVSTools.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/development/CVSTools/CVSTools.SlackBuild b/development/CVSTools/CVSTools.SlackBuild index d97e5347c7..c1f4a4453d 100644 --- a/development/CVSTools/CVSTools.SlackBuild +++ b/development/CVSTools/CVSTools.SlackBuild @@ -28,11 +28,14 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220330 bkw: Modified by SlackBuilds.org, BUILD=3: install cvslib.pl +# to a subdirectory instead of directly to /usr/share. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=CVSTools VERSION=${VERSION:-21.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch @@ -55,14 +58,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod 644 * +sed -i '/cvslib\.pl/s,/usr/share,&/cvslib,' * mkdir -p $PKG/usr/bin install -o root -g root -m 755 \ checkpoint vers_string cvsver tarup commit cvssync \ $PKG/usr/bin -mkdir -p $PKG/usr/share -install -o root -g root -m 644 cvslib.pl $PKG/usr/share +mkdir -p $PKG/usr/share/cvslib +install -o root -g root -m 644 cvslib.pl $PKG/usr/share/cvslib mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README $PKG/usr/doc/$PRGNAM-$VERSION |