chroot-git: update to 2.33.0.

This commit is contained in:
Đoàn Trần Công Danh 2021-08-17 18:41:13 +07:00 committed by Đoàn Trần Công Danh
parent cd16566c42
commit 79cc50db87

View file

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