first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/git/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/git/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 2.41.0
First version

28
src/git/pkg.sh Normal file
View File

@ -0,0 +1,28 @@
NAME="git"
DESC="Free and open source, distributed version control system"
VERSION="2.41.0"
FILES=(
"https://www.kernel.org/pub/software/scm/git/git-$VERSION.tar.xz"
"https://www.kernel.org/pub/software/scm/git/git-manpages-$VERSION.tar.xz"
)
HASHES=(
"c1f58a12b891ad73927b8e4a3aa29c7b"
"bc7a4c944492c76fc3cd766ce22e826d0241e43792c611d4fdc068e0df545877"
)
DEPENDS=("curl")
PACKAGE() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
./configure --prefix=/usr \
--with-gitconfig=/etc/gitconfig \
--with-python=python3
make && make DESTDIR=$ROOTDIR perllibdir=/usr/lib/perl5/5.38/site_perl install
mkdir -pv $ROOTDIR/usr/share/man
tar -xf ../git-manpages-$VERSION.tar.xz \
-C $ROOTDIR/usr/share/man --no-same-owner --no-overwrite-dir
cd .. && rm -rf $NAME-$VERSION
}