chroot-git: update to 2.33.1, allow git-clone local repository

This commit is contained in:
Đoàn Trần Công Danh 2021-10-20 12:45:53 +07:00 committed by Đoàn Trần Công Danh
parent 1277ff4b89
commit 61b9a459de

View file

@ -1,7 +1,7 @@
# Template file for 'chroot-git'
pkgname=chroot-git
version=2.33.0
revision=2
version=2.33.1
revision=1
bootstrap=yes
wrksrc="git-${version}"
makedepends="zlib-devel"
@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://git-scm.com/"
distfiles="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"
checksum=bf3c6ab5f82e072aad4768f647cfb1ef60aece39855f83f080f9c0222dd20c4f
checksum=e054a6e6c2b088bd1bff5f61ed9ba5aa91c9a3cd509539a4b41c5ddf02201f2f
if [ "$CHROOT_READY" ]; then
checkdepends="perl gnupg"
@ -39,6 +39,8 @@ do_configure() {
GIT_PROVE_OPTS = $makejobs
# firstword (uname -m)
HOST_CPU = ${XBPS_TARGET_MACHINE%-musl}
SKIP_DASHED_BUILT_INS = Yes
gitexecdir = libexec/chroot-git
EOF
if [ "$XBPS_TARGET_LIBC" = musl ]; then
@ -62,4 +64,8 @@ do_check() {
do_install() {
vbin git chroot-git
vmkdir usr/libexec/chroot-git
ln -s ../../bin/chroot-git $DESTDIR/usr/libexec/chroot-git/git
ln -s git $DESTDIR/usr/libexec/chroot-git/git-upload-pack
ln -s git $DESTDIR/usr/libexec/chroot-git/git-receive-pack
}