summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/sudox/Manifest2
-rw-r--r--app-admin/sudox/sudox-4.0.ebuild (renamed from app-admin/sudox/sudox-3.23.ebuild)8
2 files changed, 9 insertions, 1 deletions
diff --git a/app-admin/sudox/Manifest b/app-admin/sudox/Manifest
index e4e7b4bb..c51d9151 100644
--- a/app-admin/sudox/Manifest
+++ b/app-admin/sudox/Manifest
@@ -1 +1 @@
-DIST sudox-3.23.tar.gz 5108 SHA256 73fbee9e2e02c49ecb6dc84ac28a9610115f252bf6b286ddbc63682362f5f70f
+DIST sudox-4.0.tar.gz 5379 SHA256 0220b887df74d4d59220f6aa7e653d3c7ce5f4096788d7f2bfc070e4135bf056
diff --git a/app-admin/sudox/sudox-3.23.ebuild b/app-admin/sudox/sudox-4.0.ebuild
index 5c7174a1..a74481ed 100644
--- a/app-admin/sudox/sudox-3.23.ebuild
+++ b/app-admin/sudox/sudox-4.0.ebuild
@@ -16,7 +16,15 @@ RDEPEND="app-admin/sudo
app-shells/push"
DEPEND=""
+src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}"'/bin/sh"' \
+ -- "${PN}" || die
+ eapply_user
+}
+
src_install() {
+ dodoc README ChangeLog
dobin "${PN}"
insinto /usr/share/zsh/site-functions
doins "_${PN}"