diff options
Diffstat (limited to 'development/CVSTools/CVSTools.SlackBuild')
-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 d97e5347c7473..c1f4a4453d840 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 |