mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-03 16:40:25 +00:00
Upgraded git from 2.40.1 to 2.42.0
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Git
|
||||
# Source: https://www.kernel.org/pub/software/scm/git/git-2.40.1.tar.xz
|
||||
# Source: https://www.kernel.org/pub/software/scm/git/git-2.42.0.tar.xz
|
||||
#
|
||||
# $BUILD = Directory to temporarily install
|
||||
# $PKGS = Directory to store built packages
|
||||
@ -25,7 +25,7 @@ export LDFLAGS="-flto=auto -Wl,-O2 -Wl,--as-needed "
|
||||
read -p "Compile? " && make -j2 &&
|
||||
|
||||
read -p "Press Enter to install" &&
|
||||
sudo -S make DESTDIR=$BUILD perllibdir=/usr/lib/perl5/5.34/site_perl install &&
|
||||
sudo -S make DESTDIR=$BUILD perllibdir=/usr/lib/perl5/5.36/site_perl install &&
|
||||
|
||||
cd $BUILD && sudo mkdir -v install &&
|
||||
cat > /tmp/slack-desc << "EOF"
|
||||
@ -50,6 +50,6 @@ git: maintained by Junio C. Hamano.
|
||||
git:
|
||||
EOF
|
||||
sudo mv /tmp/slack-desc install/ &&
|
||||
sudo makepkg -l y -c n $PKGS/git-2.40.1-$PSUFFIX &&
|
||||
sudo makepkg -l y -c n $PKGS/git-2.42.0-$PSUFFIX &&
|
||||
sudo rm -rf $BUILD/*
|
||||
|
||||
|
Reference in New Issue
Block a user