diff --git a/git.yaml b/git.yaml index 49818b32aca..f41b43421f4 100644 --- a/git.yaml +++ b/git.yaml @@ -1,7 +1,7 @@ package: name: git version: "2.52.0" - epoch: 0 + epoch: 1 description: "distributed version control system" copyright: - license: GPL-2.0-or-later @@ -33,16 +33,11 @@ environment: - zlib-dev pipeline: - - uses: fetch + - uses: git-checkout with: - uri: https://www.kernel.org/pub/software/scm/git/git-${{package.version}}.tar.xz - expected-sha256: 3cd8fee86f69a949cb610fee8cd9264e6873d07fa58411f6060b3d62729ed7c5 - - - uses: fetch - working-directory: /home/build/git-manpages - with: - uri: https://www.kernel.org/pub/software/scm/git/git-manpages-${{package.version}}.tar.xz - expected-sha256: 23186deddb3083bbaa9eb947cde26a5c7322d7fdb75bb4b3d60795db38221ac5 + repository: https://git.kernel.org/pub/scm/git/git.git + tag: v${{package.version}} + expected-commit: 9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed - runs: | cat >> config.mak <<-EOF @@ -61,7 +56,7 @@ pipeline: make prefix=/usr \ DESTDIR="${{targets.destdir}}" \ INSTALLDIRS=vendor \ - install -j$(nproc) + install install-doc -j$(nproc) - name: install subtree runs: | @@ -153,10 +148,7 @@ subpackages: - name: "git-doc" description: "git manpages" pipeline: - - working-directory: /home/build/git-manpages - runs: | - mkdir -p "${{targets.contextdir}}"/usr/share/man - mv man1 man5 man7 "${{targets.contextdir}}"/usr/share/man + - uses: split/manpages test: pipeline: - uses: test/docs