summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/hyfetch/hyfetch-9999.ebuild')
-rw-r--r--app-misc/hyfetch/hyfetch-9999.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/app-misc/hyfetch/hyfetch-9999.ebuild b/app-misc/hyfetch/hyfetch-9999.ebuild
index 796c87637890..9e69c3b7e081 100644
--- a/app-misc/hyfetch/hyfetch-9999.ebuild
+++ b/app-misc/hyfetch/hyfetch-9999.ebuild
@@ -21,11 +21,6 @@ fi
LICENSE="MIT"
SLOT="0"
-PATCHES=(
- "${FILESDIR}"/${PN}-9999-pyproject.patch
- "${FILESDIR}"/${PN}-1.4.11-neofetch.patch
-)
-
RDEPEND="
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
@@ -37,9 +32,12 @@ python_install() {
distutils-r1_python_install
dodir /usr/bin/
- cp neofetch "${D}/usr/bin/neowofetch" || die
+ python_newexe neofetch neowofetch
rm -r "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts" || die
+ rm -r "${D}/usr/lib/${EPYTHON}/site-packages/docs" || die
+ mkdir "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts" || die
+ cp neofetch "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts/neowofetch" || die
}
pkg_postinst() {