commit 75e6cfaa0908d21ea5817fb323a127135478d320 Author: Yingjie Wang Date: Wed Jun 5 19:42:57 2024 -0400 new pkg: git-2.44.0 diff --git a/dev/git-2.44.0.PKGBUILD b/dev/git-2.44.0.PKGBUILD new file mode 100644 index 0000000..26866c4 --- /dev/null +++ b/dev/git-2.44.0.PKGBUILD @@ -0,0 +1,32 @@ +pkgname="git" +pkgver="2.44.0" +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=${DIST_DIR}/${pkgname}-${pkgver} + +src_prepare() { + tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 +} + +src_check(){ + SHELL=/bin/sh \ + make \ + NO_SVN_TESTS=y \ + GIT_TEST_OPTS="--root=/dev/shm/git-test" \ + test +} + +src_build() { + ./configure --prefix=/usr \ + --with-gitconfig=/etc/gitconfig \ + --with-python=python3 && + make && + src_check && + make perllibdir=/usr/lib/perl5/5.38/site_perl DESTDIR="$pkgdir" install +} +