app-admin/stow: cleanup and keyword for arm.
authorsoredake <fdsfgs@krutt.org>
Thu, 15 Sep 2016 11:08:36 +0000 (14:08 +0300)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 21 Sep 2016 22:23:40 +0000 (00:23 +0200)
* remove 99stow file.
* clean up src_install.
* EAPI 6 bump.
* keyword for the arm platform.

Closes: https://github.com/gentoo/gentoo/pull/2333

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
app-admin/stow/files/99stow [deleted file]
app-admin/stow/stow-2.2.2.ebuild

diff --git a/app-admin/stow/files/99stow b/app-admin/stow/files/99stow
deleted file mode 100644 (file)
index 07625f3..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-LDPATH=/var/lib/lib
-PATH=/var/lib/bin
-MANPATH=/var/lib/share/man
index 14c9b9389755ced2b870064941bfdf9ad929e6d7..425c180c88ff1293f72a591c2ac30b786835245d 100644 (file)
@@ -2,17 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI=6
 
-inherit eutils
-
-DESCRIPTION="Manage installation of software in /var/lib/"
+DESCRIPTION="GNU Stow is a symlink farm manager"
 HOMEPAGE="https://www.gnu.org/software/stow/"
 SRC_URI="mirror://gnu/stow/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="test"
 
 DEPEND="dev-lang/perl
@@ -21,22 +19,3 @@ DEPEND="dev-lang/perl
                dev-perl/Test-Output
        )"
 RDEPEND="dev-lang/perl"
-
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed."
-
-       # create new STOWDIR
-       dodir /var/lib/stow
-
-       # install env.d file to add STOWDIR to PATH and LDPATH
-       doenvd "${FILESDIR}"/99stow || die "doenvd failed"
-}
-
-pkg_postinst() {
-       elog "We now recommend that you use /var/lib/stow as your STOWDIR"
-       elog "instead of /usr/local in order to avoid conflicts with the"
-       elog "symlink from /usr/lib64 -> /usr/lib.  See Bug 246264 for"
-       elog "more details on this change."
-       elog "For your convenience, PATH has been updated to include"
-       elog "/var/lib/stow/bin."
-}