net-misc/yandex-disk: fix installing man files, bump EAPI to 6
authorSergey Popov <pinkbyte@gentoo.org>
Tue, 30 May 2017 07:20:04 +0000 (10:20 +0300)
committerSergey Popov <pinkbyte@gentoo.org>
Tue, 30 May 2017 07:21:34 +0000 (10:21 +0300)
Gentoo-Bug: 619976

Package-Manager: Portage-2.3.5, Repoman-2.3.1

net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild

index 9734ee06d43d432f1f2d2d06a4c4f7499e3bb7c0..0ba7ec85dfa9085be68190321f0ef05e3a2f9865 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit bash-completion-r1 eutils rpm
 
@@ -33,14 +33,15 @@ src_prepare() {
                -e '/^complete/s/-X //' \
                etc/bash_completion.d/yandex-disk-completion.bash || die
 
-       epatch_user
+       eapply_user
 }
 
 src_install() {
        exeinto /opt/bin
        doexe usr/bin/yandex-disk
        newbashcomp etc/bash_completion.d/yandex-disk-completion.bash "${PN}"
-       doman usr/share/man/man1/*.gz
+       insinto /usr/share/man
+       doins -r usr/share/man/*
        insinto /usr/share
        doins -r usr/share/locale
 }