diff options
Diffstat (limited to 'app-arch/stuffit')
-rw-r--r-- | app-arch/stuffit/stuffit-5.2.0.611-r1.ebuild (renamed from app-arch/stuffit/stuffit-5.2.0.611.ebuild) | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/app-arch/stuffit/stuffit-5.2.0.611.ebuild b/app-arch/stuffit/stuffit-5.2.0.611-r1.ebuild index f951829d1fe4..4edbd3e01728 100644 --- a/app-arch/stuffit/stuffit-5.2.0.611.ebuild +++ b/app-arch/stuffit/stuffit-5.2.0.611-r1.ebuild @@ -1,23 +1,21 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 MY_P="stuffit520.611linux-i386" DESCRIPTION="Aladdin Software's StuffIt and StuffIt Expander" HOMEPAGE="http://www.stuffit.com/" SRC_URI="http://my.smithmicro.com/downloads/files/${MY_P}.tar.gz" +S="${WORKDIR}" LICENSE="Stuffit" SLOT="0" KEYWORDS="-* amd64 x86" -IUSE="" RESTRICT="fetch strip" -S="${WORKDIR}" - -INSTALLDIR=/opt/stuffit +INSTALLDIR="/opt/stuffit" pkg_nofetch() { einfo "Please download stuffit from" @@ -49,12 +47,10 @@ src_install() { doman man/man1/* # Also add the executables to the path - dodir /etc/env.d - cat > "${T}"/10stuffit <<- EOF || die + newenvd - 10stuffit <<- EOF PATH="${EPREFIX}${INSTALLDIR}/bin" ROOTPATH="${EPREFIX}${INSTALLDIR}/bin" EOF - doenvd "${T}"/10stuffit } pkg_postinst() { |