new bblfs: dev-vcs/git-2.50.1

This commit is contained in:
2025-12-25 06:37:13 -05:00
parent 694057e07d
commit e7effdf182

View File

@@ -1,13 +1,11 @@
pkgname="git"
pkgver="2.44.0"
pkgver="2.50.1"
pkgdesc="A fast distributed version control system"
homepage="https://git-scm.com/"
license=("GPL2")
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://www.kernel.org/pub/software/scm/git/git-2.44.0.tar.xz")
md5sums=("7e4eb7c45e9ba7c90fa51deeea49732f")
distdir=${distdir}
urls=("https://www.kernel.org/pub/software/scm/git/${sources[0]}")
md5sums=("2cb96fae126d66f8ff23a68f8dd5d748")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
@@ -15,10 +13,11 @@ src_prepare() {
src_check(){
SHELL=/bin/sh \
GIT_UNZIP=nonexist \
make \
NO_SVN_TESTS=y \
GIT_TEST_OPTS="--root=/dev/shm/git-test" \
test
GIT_TEST_OPTS="--root=/tmp/git-test" \
-k test |& tee test.log
}
src_build() {
@@ -29,5 +28,7 @@ src_build() {
}
src_install() {
make perllibdir=/usr/lib/perl5/5.38/site_perl DESTDIR="$pkgdir" install
make perllibdir=/usr/lib/perl5/5.42/site_perl DESTDIR="$pkgdir" install
install -d "$pkgdir"/usr/share/zsh/site-functions/
install -v contrib/completion/git-completion.zsh "$pkgdir"/usr/share/zsh/site-functions/_git
}