dev-libs/librevenge: [QA] Minor polishes
authorDavid Seifert <soap@gentoo.org>
Sun, 16 Apr 2017 18:31:21 +0000 (20:31 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 16 Apr 2017 18:40:33 +0000 (20:40 +0200)
* einstalldocs
* Keep only one KEYWORDS

Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
dev-libs/librevenge/librevenge-9999.ebuild

index c00397f0abc320be55804359e48445831a354c9e..fa1c8deea10d3c410d3b402e29a64f89723873a5 100644 (file)
@@ -7,10 +7,9 @@ inherit multilib-minimal
 
 DESCRIPTION="A helper library for REVerse ENGineered formats filters"
 HOMEPAGE="http://sf.net/p/libwpd/librevenge"
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
        inherit git-r3 autotools
-       KEYWORDS="hppa ppc64"
 else
        SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
        KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc64 x86 ~x86-fbsd"
@@ -31,7 +30,7 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
        default
-       [[ ${PV} = 9999 ]] && eautoreconf
+       [[ ${PV} = *9999 ]] && eautoreconf
 }
 
 multilib_src_configure() {
@@ -44,5 +43,6 @@ multilib_src_configure() {
 }
 
 multilib_src_install_all() {
+       einstalldocs
        find "${D}" -name '*.la' -delete || die
 }
index d1f878c2f5b60c1eb5b1a1cb3534bf6503e5815e..b9e35af3318d522aed3c2056966c1804027e8743 100644 (file)
@@ -7,10 +7,9 @@ inherit multilib-minimal
 
 DESCRIPTION="A helper library for REVerse ENGineered formats filters"
 HOMEPAGE="http://sf.net/p/libwpd/librevenge"
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
        inherit git-r3 autotools
-       KEYWORDS=""
 else
        SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~x86 ~x86-fbsd"
@@ -31,7 +30,7 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
        default
-       [[ ${PV} = 9999 ]] && eautoreconf
+       [[ ${PV} = *9999 ]] && eautoreconf
 }
 
 multilib_src_configure() {
@@ -44,5 +43,6 @@ multilib_src_configure() {
 }
 
 multilib_src_install_all() {
+       einstalldocs
        find "${D}" -name '*.la' -delete || die
 }