[build] type = "autotools" [build.flags] configure = [ "--with-gitconfig=/etc/gitconfig", "--with-python=python3", "--with-libpcre2", ] post_install = [ "install -Dm755 $DEPOT_SPECDIR/git-daemon.initd $DESTDIR/etc/init.d/git-daemon", "install -Dm644 $DEPOT_SPECDIR/git-daemon.confd $DESTDIR/etc/conf.d/git-daemon", "install -Dm644 contrib/completion/git-completion.bash $DESTDIR/usr/share/bash-completion/completions/git", "install -Dm644 contrib/completion/git-prompt.sh $DESTDIR/usr/share/git-core/git-prompt.sh" ] make_install_vars = [ "perllibdir=/usr/lib/perl5/5.42/site_perl" ] keep = [ "etc/conf.d/*" ] [dependencies] build = ["python"] optional = [ "less", "libsecret", "man-db", "openssh", "org.freedesktop.secrets", "perl-authen-sasl", "perl-cgi", "perl-io-socket-ssl", "perl-libwww", "python", "perl-term-readkey", "tk", "subversion", ] runtime = [ "curl", "expat", "grep", "openssl", "pcre2", "perl", "perl-error", "perl-mailtools", "shadow", "zlib-ng", ] test = ["openssh"] [[manual_sources]] files = [ "fix-t4219-with-sticky-bit.patch", "git-daemon.initd", "git-daemon.confd", ] [package] description = "the fast distributed version control system" homepage = "https://git-scm.com/" license = "GPL-2.0-only" name = "git" version = "2.53.0" [[source]] extract_dir = "$name-$version" patches = ["fix-t4219-with-sticky-bit.patch"] sha256 = "5818bd7d80b061bbbdfec8a433d609dc8818a05991f731ffc4a561e2ca18c653" url = "https://www.kernel.org/pub/software/scm/git/git-$version.tar.xz"