diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-04-04 22:19:21 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-04-04 22:19:21 -0400 |
commit | b7234c663025bce672adc4cf9d51f0aedcf47d81 (patch) | |
tree | dd48c8461ea1c3fec8e6bc072fcce0c3572a9e46 /app-admin/reportmagic | |
parent | app-admin/qtpass: avoid using D in src_configure (diff) | |
download | gentoo-b7234c663025bce672adc4cf9d51f0aedcf47d81.tar.gz gentoo-b7234c663025bce672adc4cf9d51f0aedcf47d81.tar.bz2 gentoo-b7234c663025bce672adc4cf9d51f0aedcf47d81.zip |
app-admin/reportmagic: avoid using D in src_unpack
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-admin/reportmagic')
-rw-r--r-- | app-admin/reportmagic/metadata.xml | 2 | ||||
-rw-r--r-- | app-admin/reportmagic/reportmagic-2.21.ebuild | 13 |
2 files changed, 5 insertions, 10 deletions
diff --git a/app-admin/reportmagic/metadata.xml b/app-admin/reportmagic/metadata.xml index 585b0dc75dda..7a38bb900964 100644 --- a/app-admin/reportmagic/metadata.xml +++ b/app-admin/reportmagic/metadata.xml @@ -2,4 +2,4 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> - </pkgmetadata> +</pkgmetadata> diff --git a/app-admin/reportmagic/reportmagic-2.21.ebuild b/app-admin/reportmagic/reportmagic-2.21.ebuild index 2993a06ce843..11cbe8bbd028 100644 --- a/app-admin/reportmagic/reportmagic-2.21.ebuild +++ b/app-admin/reportmagic/reportmagic-2.21.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -28,16 +28,11 @@ DEPEND="sys-libs/zlib S="${WORKDIR}/rmagic-${PV}" -src_unpack() { - unpack ${A} ; cd "${S}" - +src_install() { sed -i \ - -e "s:^\$DEST.*:\$DEST='${D}/usr/share/reportmagic';:g" \ - -e "s:^\$DOC.*:\$DOC='${D}/usr/share/doc/${PF}';:g" \ + -e "s:^\$DEST.*:\$DEST='${ED}/usr/share/reportmagic';:g" \ + -e "s:^\$DOC.*:\$DOC='${ED}/usr/share/doc/${PF}';:g" \ Install.PL \ || die "sed failed" -} - -src_install() { perl Install.PL -no_modules } |