From 76dfef0cec9170000357d2f354e412daf48941fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 Dec 2017 01:11:30 +0000 Subject: gentoo resync : 30.12.2017 --- app-arch/stuffit/Manifest | 2 +- app-arch/stuffit/stuffit-5.2.0.611.ebuild | 24 +++++++++++++----------- 2 files changed, 14 insertions(+), 12 deletions(-) (limited to 'app-arch/stuffit') diff --git a/app-arch/stuffit/Manifest b/app-arch/stuffit/Manifest index 2a65aa106820..14f52665da9b 100644 --- a/app-arch/stuffit/Manifest +++ b/app-arch/stuffit/Manifest @@ -1,3 +1,3 @@ DIST stuffit520.611linux-i386.tar.gz 1955619 BLAKE2B fb80abef29d266c93747b3359c62840afa15a32786a82ee01cab22cf0eddad750817c87b767632df5bb2ef681c1c9dd6dfe136dae388f8390bcab0b137a2c0bc SHA512 a1d4631c2d238b49c710816cd5ed8a01dcf52c29b870297b8dfd76fb0cb6e725c5b0f9d4a6c155c7b6980005df52fc4597632f72e90f00bf93ad80a28972270a -EBUILD stuffit-5.2.0.611.ebuild 1465 BLAKE2B 941f699e4773b0375e94219d5117e51d67527ea90ef2b02609bcbbb47371c03e9d5793059d96dd6a4eb6efad956871a6a4cc1737b466c95abc356400f20ee82d SHA512 d34265918291a3043262aded8ceb3bee13860eb5b8e5503f681ff9002176aaebc7abb1a21dba3779e7c10b7dd6b7301811489f7d92c0191c25a2e3aaca8b0bc0 +EBUILD stuffit-5.2.0.611.ebuild 1471 BLAKE2B 33b12391d0b2ee3a638b85f5010ad500032570d52a875ed72f36403f43fd238a6e47b9316f30be82966a78e6f602ff45b9db764d898f6894490e1eada29cacce SHA512 816b2b903025599753824cff5eed538c327b49ab146c26967e5246fdc0e2b2168f1531266970c1670d2cf2bcf1f45ab7eb3332b41294734c2214ad7e69b42cea MISC metadata.xml 302 BLAKE2B f1870466f061240593b130854dc1baaffbc351f573e2f8e7bd4e5d8dcb986a794d151bc6a41bb7929b34a5bea104f0f95efbedd3bd068af39896fd444997cf45 SHA512 cb8ca2c4b1b49221c5e2ef4d37a9f8faa4a03ec8e116dfe31185f0a09aeaadf1034f45f655d984658e8318f057ca9028edb4cd373abb0d5bfe05ff6dd83d00b3 diff --git a/app-arch/stuffit/stuffit-5.2.0.611.ebuild b/app-arch/stuffit/stuffit-5.2.0.611.ebuild index e6853abaea75..2e6528ed2126 100644 --- a/app-arch/stuffit/stuffit-5.2.0.611.ebuild +++ b/app-arch/stuffit/stuffit-5.2.0.611.ebuild @@ -1,10 +1,13 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +EAPI=6 + 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/stuffit520.611linux-i386.tar.gz" +SRC_URI="http://my.smithmicro.com/downloads/files/${MY_P}.tar.gz" LICENSE="Stuffit" SLOT="0" @@ -14,7 +17,7 @@ RESTRICT="fetch strip" S="${WORKDIR}" -INSTALLDIR="/opt/stuffit" +INSTALLDIR=/opt/stuffit pkg_nofetch() { einfo "Please download stuffit from" @@ -27,7 +30,6 @@ pkg_nofetch() { } src_install() { - # First do the binaries exeinto ${INSTALLDIR}/bin doexe bin/stuff @@ -39,20 +41,20 @@ src_install() { # Now the documentation docinto stuff - dodoc doc/stuff/README - dohtml doc/stuff/stuff.html + dodoc doc/stuff/{README,stuff.html} docinto unstuff - dodoc doc/unstuff/README - dohtml doc/unstuff/unstuff.html + dodoc doc/unstuff/{README,unstuff.html} # And now the man pages doman man/man1/* # Also add the executables to the path dodir /etc/env.d - echo -e "PATH=${INSTALLDIR}/bin\nROOTPATH=${INSTALLDIR}/bin" > \ - "${D}"/etc/env.d/10stuffit - + cat > "${T}"/10stuffit <<- EOF || die + PATH="${EPREFIX}${INSTALLDIR}/bin" + ROOTPATH="${EPREFIX}${INSTALLDIR}/bin" + EOF + doenvd "${T}"/10stuffit } pkg_postinst() { -- cgit v1.2.3