From 17e1f1c381d471d2e2dd7f0f6a9c7ff5e50eefb7 Mon Sep 17 00:00:00 2001 From: Jason H Nicholson <1058191+jasonnicholson@users.noreply.github.com> Date: Tue, 28 Mar 2023 08:03:22 -0500 Subject: [PATCH 1/4] Placing git-lfs documentation in right place The PKGBUILD file was updated to move the html documentation to the right location. Signed-off-by: Jason H Nicholson --- mingw-w64-git-lfs/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mingw-w64-git-lfs/PKGBUILD b/mingw-w64-git-lfs/PKGBUILD index 5abd090e46..eb282d8cbd 100644 --- a/mingw-w64-git-lfs/PKGBUILD +++ b/mingw-w64-git-lfs/PKGBUILD @@ -48,4 +48,10 @@ package() { install -m755 $srcdir/$folder/git-lfs$exesuffix.exe $pkgdir/$MINGW_PREFIX/bin/git-lfs.exe install -d -m755 $pkgdir/$MINGW_PREFIX/share/doc/git-lfs install -m755 $srcdir/$folder/README.md $pkgdir/$MINGW_PREFIX/share/doc/git-lfs/README.md + install -d -m755 $pkgdir/$MINGW_PREFIX/share/doc/git-core + for f in $srcdir/$folder/man/html/git-lfs*.1.html + do + ff=${f##*/} + install -m755 $f $pkgdir/$MINGW_PREFIX/share/doc/git-core/${ff%.1.html}.html + done } From c264677a4cb998c07f617c538bf23ffa40654145 Mon Sep 17 00:00:00 2001 From: Jason H Nicholson Date: Tue, 28 Mar 2023 09:38:02 -0500 Subject: [PATCH 2/4] Updated pkgrel number Signed-off-by: Jason H Nicholson --- mingw-w64-git-lfs/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-git-lfs/PKGBUILD b/mingw-w64-git-lfs/PKGBUILD index eb282d8cbd..84c5cd7892 100644 --- a/mingw-w64-git-lfs/PKGBUILD +++ b/mingw-w64-git-lfs/PKGBUILD @@ -4,7 +4,7 @@ _realname="git-lfs" pkgbase="mingw-w64-${_realname}" pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=3.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="An open source Git extension for versioning large files" install=git-lfs.install arch=('any') From 71f1c2ebef8e9d4d7a0658325f7caaec99e8707f Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 29 Mar 2023 13:03:52 +0200 Subject: [PATCH 3/4] git-lfs: put the HTML pages into the correct directory We want `git help git-lfs` to work, but that targets the `git-doc` directory, not the `git-core` directory. Signed-off-by: Johannes Schindelin --- mingw-w64-git-lfs/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-git-lfs/PKGBUILD b/mingw-w64-git-lfs/PKGBUILD index 84c5cd7892..2782c64d29 100644 --- a/mingw-w64-git-lfs/PKGBUILD +++ b/mingw-w64-git-lfs/PKGBUILD @@ -48,10 +48,10 @@ package() { install -m755 $srcdir/$folder/git-lfs$exesuffix.exe $pkgdir/$MINGW_PREFIX/bin/git-lfs.exe install -d -m755 $pkgdir/$MINGW_PREFIX/share/doc/git-lfs install -m755 $srcdir/$folder/README.md $pkgdir/$MINGW_PREFIX/share/doc/git-lfs/README.md - install -d -m755 $pkgdir/$MINGW_PREFIX/share/doc/git-core + install -d -m755 $pkgdir/$MINGW_PREFIX/share/doc/git-doc for f in $srcdir/$folder/man/html/git-lfs*.1.html do ff=${f##*/} - install -m755 $f $pkgdir/$MINGW_PREFIX/share/doc/git-core/${ff%.1.html}.html + install -m755 $f $pkgdir/$MINGW_PREFIX/share/doc/git-doc/${ff%.1.html}.html done } From 6f1eecf83f7f8dc744817d6ae3883128aa2a8ca4 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 29 Mar 2023 13:04:31 +0200 Subject: [PATCH 4/4] git-lfs: bump pkgrel I had already deployed -2 before testing, then tested, and realized that a fix was needed: the HTML pages need to go into a different directory. So let's deploy -3. Signed-off-by: Johannes Schindelin --- mingw-w64-git-lfs/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-git-lfs/PKGBUILD b/mingw-w64-git-lfs/PKGBUILD index 2782c64d29..e93f4e879a 100644 --- a/mingw-w64-git-lfs/PKGBUILD +++ b/mingw-w64-git-lfs/PKGBUILD @@ -4,7 +4,7 @@ _realname="git-lfs" pkgbase="mingw-w64-${_realname}" pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=3.3.0 -pkgrel=2 +pkgrel=3 pkgdesc="An open source Git extension for versioning large files" install=git-lfs.install arch=('any')