diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template index 03d590fcabd..7bbebc45ca3 100644 --- a/srcpkgs/chroot-git/template +++ b/srcpkgs/chroot-git/template @@ -1,6 +1,6 @@ # Template file for 'chroot-git' pkgname=chroot-git -version=2.38.1 +version=2.39.0 revision=1 bootstrap=yes makedepends="zlib-devel" @@ -9,7 +9,7 @@ maintainer="Đoàn Trần Công Danh " license="GPL-2.0-only" homepage="https://git-scm.com/" distfiles="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz" -checksum=97ddf8ea58a2b9e0fbc2508e245028ca75911bd38d1551616b148c1aa5740ad9 +checksum=ba199b13fb5a99ca3dec917b0bd736bc0eb5a9df87737d435eddfdf10d69265b if [ "$CHROOT_READY" ]; then checkdepends="perl gnupg" @@ -61,14 +61,17 @@ do_build() { } do_check() { - make test + if [ "$CHROOT_READY" ] && [ "$XBPS_ALLOW_CHROOT_BREAKOUT" ]; then + export IKNOWWHATIAMDOING=YES + fi + make test ${makejobs} } do_install() { vmkdir usr/bin vmkdir usr/libexec/chroot-git + vbin git chroot-git vinstall git 755 usr/libexec/chroot-git - ln -s ../libexec/chroot-git/git $DESTDIR/usr/bin/chroot-git ln -s git $DESTDIR/usr/libexec/chroot-git/git-upload-pack ln -s git $DESTDIR/usr/libexec/chroot-git/git-receive-pack if [ "$CHROOT_READY" ]; then