From f7c2a04c74bcb64dee59b92802a1c30e1936ca35 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 7 May 2015 16:53:09 +0200 Subject: [PATCH] git: add git-all. --- srcpkgs/git-all | 1 + srcpkgs/git/template | 43 ++++++++++++++++++++++++------------------- 2 files changed, 25 insertions(+), 19 deletions(-) create mode 120000 srcpkgs/git-all diff --git a/srcpkgs/git-all b/srcpkgs/git-all new file mode 120000 index 00000000000..0899c2993da --- /dev/null +++ b/srcpkgs/git-all @@ -0,0 +1 @@ +git \ No newline at end of file diff --git a/srcpkgs/git/template b/srcpkgs/git/template index 4291e8ae442..5bfd3cbf3f6 100644 --- a/srcpkgs/git/template +++ b/srcpkgs/git/template @@ -1,7 +1,7 @@ # Template file for "git" pkgname=git version=2.4.0 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-curl --with-expat --with-tcltk ac_cv_fread_reads_directories=no ac_cv_snprintf_returns_bogus=no" @@ -18,7 +18,7 @@ license="GPL-2" distfiles="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz" checksum=b33438dd94659958a74850aacae4a2b3a626baec36d7f29c266130b08045bb24 -subpackages="git-cvs git-svn git-perl gitk git-gui" +subpackages="git-cvs git-svn git-perl gitk git-gui git-all" post_build() { make ${makejobs} -C Documentation man @@ -74,23 +74,28 @@ git-svn_package() { } } gitk_package() { - noarch=yes - depends="git-${version}_${revision} tk" - short_desc="The Git repository browser" - pkg_install() { - vmove usr/bin/gitk - vmove usr/share/gitk - vmove usr/share/man/man1/gitk.1 - } + noarch=yes + depends="git-${version}_${revision} tk" + short_desc="The Git repository browser" + pkg_install() { + vmove usr/bin/gitk + vmove usr/share/gitk + vmove usr/share/man/man1/gitk.1 + } } git-gui_package() { - noarch=yes - depends="git-${version}_${revision} tk" - short_desc+=" - GUI tool" - pkg_install() { - vmove usr/libexec/git-core/git-gui--askpass - vmove usr/libexec/git-core/git-gui - vmove usr/share/man/man1/git-gui.1 - vmove usr/share/git-gui - } + noarch=yes + depends="git-${version}_${revision} tk" + short_desc+=" - GUI tool" + pkg_install() { + vmove usr/libexec/git-core/git-gui--askpass + vmove usr/libexec/git-core/git-gui + vmove usr/share/man/man1/git-gui.1 + vmove usr/share/git-gui + } +} +git-all_package() { + noarch=yes + depends="${subpackages/git-all/}" + short_desc+=" - meta-package for complete Git installation" }