diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template index 7da8a60d90..2bdb4d76be 100644 --- a/srcpkgs/chroot-git/template +++ b/srcpkgs/chroot-git/template @@ -1,20 +1,19 @@ # Template file for 'chroot-git' pkgname=chroot-git -version=2.31.1 +version=2.33.0 revision=1 bootstrap=yes wrksrc="git-${version}" -make_check_target=test makedepends="zlib-devel" short_desc="GIT Tree History Storage Tool -- for xbps-src use" maintainer="Enno Boland " license="GPL-2.0-only" homepage="https://git-scm.com/" distfiles="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz" -checksum=9f61417a44d5b954a5012b6f34e526a3336dcf5dd720e2bb7ada92ad8b3d6680 +checksum=bf3c6ab5f82e072aad4768f647cfb1ef60aece39855f83f080f9c0222dd20c4f if [ "$CHROOT_READY" ]; then - hostmakedepends="perl tar" + checkdepends="perl gnupg" else configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr" fi @@ -28,7 +27,7 @@ do_configure() { CFLAGS = $CFLAGS LDFLAGS = $LDFLAGS CC_LD_DYNPATH=-L - NO_INSTALL_HARDLINKS=Yes + SKIP_DASHED_BUILT_INS = Yes NO_GETTEXT=Yes NO_OPENSSL = Yes USE_LIBPCRE := @@ -38,6 +37,8 @@ do_configure() { NO_PERL = Yes NO_PYTHON = Yes NO_TCLTK = Yes + DEFAULT_TEST_TARGET = prove + GIT_PROVE_OPTS = $makejobs EOF if [ "$XBPS_TARGET_LIBC" = musl ]; then @@ -52,6 +53,10 @@ do_build() { make ${makejobs} git } +do_check() { + make test +} + do_install() { vbin git chroot-git }