[PATCH] main/git: add install_if rule to git-subtree-doc
Export this patch
Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
main/git/APKBUILD | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index edd2565e9..ad1cf59b8 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
@@ -31,7 +31,7 @@
pkgname=git
pkgver=2.35.1
-pkgrel=1
+pkgrel=2
pkgdesc="Distributed version control system"
url="https://www.git-scm.com/"
arch="all"
@@ -242,6 +242,7 @@ subtree() {
subtree_doc() {
pkgdesc="Split git repository into subtrees (documentation)"
depends=""
+ install_if="docs git-subtree=$pkgver-r$pkgrel"
cd "$builddir"/contrib/subtree
make install-man prefix=/usr DESTDIR="$subpkgdir"
--
2.35.1