You are not logged in.

#1 2025-06-17 22:05:43

oech3
Member
Registered: 2017-09-03
Posts: 76

How to embbed --depth=1 at VCSCLIENT=('git::git') of makepkg.conf ?

*-git packages on AUR clones whole repository before building it.
It is avoided by git clone --depth=1 at prerare()  of PKGBUILD.
But how to set it for every package ? My makepkg.conf has

VCSCLIENTS=('bzr::bzr' 'fossil::fossil' 'git::git' 'hg::mercurial' 'svn::subversion')

Last edited by oech3 (2025-06-17 22:06:22)

Offline

#2 2025-06-18 11:57:09

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,967

Re: How to embbed --depth=1 at VCSCLIENT=('git::git') of makepkg.conf ?

pacman/makepkg don't support that, but there are some possibilities .
See https://bbs.archlinux.org/viewtopic.php?id=298628


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB