From e7effdf1825ea5196d8d48f29faeabe6e15f88bf Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 25 Dec 2025 06:37:13 -0500 Subject: [PATCH] new bblfs: dev-vcs/git-2.50.1 --- ...{git-2.44.0.PKGBUILD => git-2.50.1.PKGBUILD} | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) rename dev-vcs/{git-2.44.0.PKGBUILD => git-2.50.1.PKGBUILD} (51%) diff --git a/dev-vcs/git-2.44.0.PKGBUILD b/dev-vcs/git-2.50.1.PKGBUILD similarity index 51% rename from dev-vcs/git-2.44.0.PKGBUILD rename to dev-vcs/git-2.50.1.PKGBUILD index 9542591..44ab381 100644 --- a/dev-vcs/git-2.44.0.PKGBUILD +++ b/dev-vcs/git-2.50.1.PKGBUILD @@ -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 }