git: move citool to git-gui, force python3

git-citool is installed as hardlink to git-gui.
There's a bug report in Git mailing list to fix that.
Consider its small size (104KB to 43MB of git packages).

Left it there and wait for fix from upstream.

Move citool to git-gui for now.
This commit is contained in:
Đoàn Trần Công Danh 2020-08-12 22:17:49 +07:00
parent 1d95e7bdc1
commit f0f8c11737

View file

@ -1,7 +1,7 @@
# Template file for 'git' # Template file for 'git'
pkgname=git pkgname=git
version=2.28.0 version=2.28.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-curl --with-expat --with-tcltk --with-libpcre2" configure_args="--with-curl --with-expat --with-tcltk --with-libpcre2"
hostmakedepends="asciidoc gettext perl pkg-config tar tk xmlto" hostmakedepends="asciidoc gettext perl pkg-config tar tk xmlto"
@ -25,6 +25,7 @@ post_configure() {
NO_INSTALL_HARDLINKS=Yes NO_INSTALL_HARDLINKS=Yes
INSTALLDIRS=vendor INSTALLDIRS=vendor
perllibdir=/usr/share/perl5/vendor_perl perllibdir=/usr/share/perl5/vendor_perl
PYTHON_PATH=/usr/bin/python3
EOF EOF
} }
@ -106,6 +107,7 @@ git-gui_package() {
pkg_install() { pkg_install() {
vmove usr/libexec/git-core/git-gui--askpass vmove usr/libexec/git-core/git-gui--askpass
vmove usr/libexec/git-core/git-gui vmove usr/libexec/git-core/git-gui
vmove usr/libexec/git-core/git-citool
vmove usr/share/man/man1/git-gui.1 vmove usr/share/man/man1/git-gui.1
vmove usr/share/git-gui vmove usr/share/git-gui
} }