Skip to content

Commit

Permalink
chroot-git: update to 2.33.1, allow git-clone local repository
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn committed Oct 20, 2021
1 parent 050a500 commit ea067cd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions srcpkgs/chroot-git/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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
}

0 comments on commit ea067cd

Please sign in to comment.