mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
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>
This commit is contained in:
parent
438f832648
commit
3511400cf8
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue