summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/stuffit')
-rw-r--r--app-arch/stuffit/metadata.xml2
-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
2 files changed, 6 insertions, 10 deletions
diff --git a/app-arch/stuffit/metadata.xml b/app-arch/stuffit/metadata.xml
index 9721c8429868..08ca87785011 100644
--- a/app-arch/stuffit/metadata.xml
+++ b/app-arch/stuffit/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>Stuffit is a archive creating application, supporting .sit, .sitx .zip, and self-extracting archives</longdescription>
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() {