~alpine/aports

community/myrepos: fix wrong manpage path v1 APPLIED

Thiago Perrotta: 1
 community/myrepos: fix wrong manpage path

 1 files changed, 3 insertions(+), 19 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3856/mbox | git am -3
Learn more about email & git

[PATCH] community/myrepos: fix wrong manpage path Export this patch

Currently if one does `man mr` it fails with "man: No entry for mr in
the manual."

This commit correctly places it in man1/.

The APKBUILD has been simplified to be closer as intended by upstream
with `make install`.

Signed-off-by: Thiago Perrotta <tbperrotta@gmail.com>
---
 community/myrepos/APKBUILD | 22 +++-------------------
 1 file changed, 3 insertions(+), 19 deletions(-)

diff --git a/community/myrepos/APKBUILD b/community/myrepos/APKBUILD
index 655671c443..55183526bf 100644
--- a/community/myrepos/APKBUILD
+++ b/community/myrepos/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=myrepos
pkgver=1.20180726
pkgrel=0
pkgrel=1
pkgdesc="A multiple repository management tool"
url="https://git.joeyh.name/git/myrepos.git"
arch="noarch"
@@ -21,24 +21,8 @@ check() {
}

package() {
	install -Dm755 mr "$pkgdir"/usr/bin/mr
	cd "$builddir"/lib
	for file in git-fake-bare git-svn unison; do
		install -Dpm 0644 $file \
		"$pkgdir"/usr/share/$pkgname/$file
	done
}

doc() {
	cd "$builddir"
	mkdir -p "$subpkgdir"/usr/share/man
	mv "$builddir"/*.1 "$subpkgdir"/usr/share/man/
	# Sample configuration files
	for file in mrconfig mrconfig.complex; do
		install -Dpm 0644 $file \
			"$subpkgdir"/usr/share/doc/$pkgname/$file
	done
	default_doc
	make DESTDIR="$pkgdir" install
	install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README
}

sha512sums="cf39208ecf1fc4008cf29c1585d33e9b17dc08350d2bc816a4ce0b4e12eaceffcf7bfbbf2036a70ac2aa979070da601e422ccbedd824f33354b20cfe3a988fef  myrepos-1.20180726.tar.gz"
-- 
2.34.1
```
 usr/
 usr/bin/
 usr/bin/mr
+usr/bin/webcheckout
 usr/share/
-usr/share/myrepos/
-usr/share/myrepos/git-fake-bare
-usr/share/myrepos/git-svn
-usr/share/myrepos/unison
+usr/share/mr.sh/
+usr/share/mr.sh/cache-mr-status.sh
+usr/share/mr/
+usr/share/mr/dgit
+usr/share/mr/git-annex
+usr/share/mr/git-cvs
+usr/share/mr/git-fake-bare
+usr/share/mr/git-subtree
+usr/share/mr/git-svn
+usr/share/mr/graph
+usr/share/mr/remote
+usr/share/mr/repo
+usr/share/mr/stow
+usr/share/mr/unison
+usr/share/mr/upgrade
+usr/share/mr/vcsh
+usr/share/mr/vis
```
this now also adds a bunch of previously missing files, good find

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29109#note_203209