summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-21 10:15:27 +0100
committerSam James <sam@gentoo.org>2021-04-21 19:50:09 +0100
commit587ed70e0ef1cd93bf48d52b71e466aafcf6a857 (patch)
treecf69a8b7dcce01d11717daed1b62ad9a9a66f708
parentdev-lang/gprolog: drop epatch (diff)
downloadgentoo-587ed70e0ef1cd93bf48d52b71e466aafcf6a857.tar.gz
gentoo-587ed70e0ef1cd93bf48d52b71e466aafcf6a857.tar.bz2
gentoo-587ed70e0ef1cd93bf48d52b71e466aafcf6a857.zip
dev-lang/logtalk: drop epatch
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-lang/logtalk/logtalk-3.36.0.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/dev-lang/logtalk/logtalk-3.36.0.ebuild b/dev-lang/logtalk/logtalk-3.36.0.ebuild
index 130065d0fb4f..51b8770f7e81 100644
--- a/dev-lang/logtalk/logtalk-3.36.0.ebuild
+++ b/dev-lang/logtalk/logtalk-3.36.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit epatch xdg-utils
+inherit xdg-utils
DESCRIPTION="Open source object-oriented logic programming language"
HOMEPAGE="https://logtalk.org"
@@ -19,22 +19,20 @@ RDEPEND="${DEPEND}
xslt? ( dev-libs/libxslt )
fop? ( dev-java/fop )"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-portage.patch
-
- eapply_user
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-portage.patch
+)
src_install() {
# Look at scripts/install.sh for upstream installation process.
# Install logtalk base
mv scripts/logtalk_user_setup.sh integration/
- mkdir -p "${D}/usr/share/${P}"
+ mkdir -p "${ED}/usr/share/${P}" || die
cp -r adapters coding contributions core docs examples integration \
library manuals paths scratch tests tools VERSION.txt \
loader-sample.lgt settings-sample.lgt tester-sample.lgt \
tests-sample.lgt \
- "${D}/usr/share/${P}" \
+ "${ED}/usr/share/${P}" \
|| die "Failed to install files"
# Install mime file, the database will be updated later