git: add netrc subpackage.
This commit is contained in:
parent
810f3126e1
commit
5eb4a450aa
|
@ -0,0 +1 @@
|
|||
git/
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'git'
|
||||
pkgname=git
|
||||
version=2.24.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-curl --with-expat --with-tcltk --with-libpcre2
|
||||
ac_cv_snprintf_returns_bogus=no"
|
||||
|
@ -20,7 +20,7 @@ checksum=9f71d61973626d8b28c4cdf8e2484b4bf13870ed643fed982d68b2cfd754371b
|
|||
replaces="git-perl>=0"
|
||||
register_shell=/usr/bin/git-shell
|
||||
|
||||
subpackages="git-cvs git-svn gitk git-gui git-all git-libsecret"
|
||||
subpackages="git-cvs git-svn gitk git-gui git-all git-libsecret git-netrc"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
|
@ -61,6 +61,7 @@ post_install() {
|
|||
vinstall contrib/git-jump/README 644 usr/share/doc/git-jump
|
||||
make -C contrib/subtree DESTDIR=${DESTDIR} prefix=/usr install install-man
|
||||
vinstall contrib/credential/libsecret/git-credential-libsecret 755 usr/libexec/git-core
|
||||
vinstall contrib/credential/netrc/git-credential-netrc 755 usr/libexec/git-core
|
||||
}
|
||||
|
||||
git-cvs_package() {
|
||||
|
@ -126,3 +127,12 @@ git-libsecret_package() {
|
|||
vmove usr/libexec/git-core/git-credential-libsecret
|
||||
}
|
||||
}
|
||||
|
||||
git-netrc_package() {
|
||||
depends="git-${version}_${revision}"
|
||||
archs=noarch
|
||||
short_desc+=" - netrc credential helper"
|
||||
pkg_install() {
|
||||
vmove usr/libexec/git-core/git-credential-netrc
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue