mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
xsstrike: ebuild itself
This commit is contained in:
parent
a46cd46548
commit
1ad47e3319
1 changed files with 5 additions and 3 deletions
|
|
@ -28,13 +28,15 @@ src_prepare() {
|
|||
cat > ${PN} << EOF
|
||||
#!/bin/sh
|
||||
cd /usr/share/xsstrike
|
||||
exec python xsstrike.py "\${@}"
|
||||
exec ./xsstrike.py "\${@}"
|
||||
EOF
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
insinto /usr/share/${PN}
|
||||
doins -r core db modes ${PN}.py
|
||||
python_fix_shebang "${PN}.py"
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r core db modes plugins "${PN}.py"
|
||||
fperms 0755 "/usr/share/${PN}/${PN}.py"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue