various minor fixes
This commit is contained in:
parent
12c80f8a71
commit
6145d0556e
10 changed files with 69 additions and 67 deletions
|
@ -1 +1 @@
|
|||
EBUILD ankh-1.0.ebuild 1630 SHA256 faecf4a190171a364e6142184512a4b5cb5b2c36f4fe66d767a4e0b0e6f047f9 SHA512 9377d2cb938663c9aee67187171bdf2b73fb4449bcb8f87c282b7f241349022224369f298cf090a1e32bc3b8f345da30a61e7868f439f0dacedadbb457782b20 WHIRLPOOL fbd6f45ca293bf37a225ff2accb793ab11136b0867d607dbc5d737a9e4ea9b6e2d27a9f56c3283cae3fa6778e8a3c3eed8e86e47753b42a8236c21ce73d14ece
|
||||
EBUILD ankh-1.0.ebuild 1554 SHA256 254a4ee1b12cfd57fd073af946975c96dc5b04ba2bb6943a2ab22979025c3379 SHA512 7f5d7de13ed22158104bdef214c2b57a25465b9c3abbf820fee3ac4b4633895289538802e9f746512c07cbc1ebb99898fb9845fd8add39382b47c85e13ce9a58 WHIRLPOOL 26e8d46c3f2886fe7db6f5bb9f08ce876a1b352a55da64f415939f2df4341408174729ea858245dc13951701a497c38fef73afdccc061962c066a830c083afe1
|
||||
|
|
|
@ -8,22 +8,22 @@ IUSE=""
|
|||
RESTRICT="strip"
|
||||
|
||||
DEPEND="app-arch/bzip2
|
||||
app-arch/tar
|
||||
app-arch/unzip"
|
||||
app-arch/tar
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND="sys-libs/glibc
|
||||
virtual/opengl
|
||||
x11-libs/libXext
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
amd64? ( app-emulation/emul-linux-x86-xlibs
|
||||
app-emulation/emul-linux-x86-soundlibs
|
||||
|| (
|
||||
>=app-emulation/emul-linux-x86-xlibs-7.0
|
||||
x11-drivers/nvidia-drivers
|
||||
x11-drivers/nvidia-legacy-drivers
|
||||
>=x11-drivers/ati-drivers-8.8.25-r1 ) )"
|
||||
virtual/opengl
|
||||
x11-libs/libXext
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
amd64? ( app-emulation/emul-linux-x86-xlibs
|
||||
app-emulation/emul-linux-x86-soundlibs
|
||||
|| (
|
||||
>=app-emulation/emul-linux-x86-xlibs-7.0
|
||||
x11-drivers/nvidia-drivers
|
||||
x11-drivers/nvidia-legacy-drivers
|
||||
>=x11-drivers/ati-drivers-8.8.25-r1 ) )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
|
@ -31,28 +31,26 @@ GAMES_CHECK_LICENSE="no"
|
|||
dir=${GAMES_PREFIX_OPT}/ankh
|
||||
Ddir=${D}/${dir}
|
||||
|
||||
|
||||
|
||||
src_install() {
|
||||
cdrom_get_cds data/Ankh.tar.gz
|
||||
insinto "${dir}"
|
||||
exeinto "${dir}"
|
||||
einfo "Unpacking common.zip from Disk..."
|
||||
unzip -qo ${CDROM_ROOT}/data/common.zip -d $Ddir
|
||||
einfo "Unpacking bin-x86.tar.gz from Disk..."
|
||||
tar xzf ${CDROM_ROOT}/data/bin-x86.tar.gz -C $Ddir
|
||||
einfo "Unpacking libs-x86.tar.gz from Disk..."
|
||||
tar xzf ${CDROM_ROOT}/data/libs-x86.tar.gz -C $Ddir
|
||||
einfo "Unpacking Ankh.tar.gz from Disk..."
|
||||
tar xzf ${CDROM_ROOT}/data/Ankh.tar.gz -C $Ddir
|
||||
cdrom_get_cds data/Ankh.tar.gz
|
||||
insinto "${dir}"
|
||||
exeinto "${dir}"
|
||||
einfo "Unpacking common.zip from Disk..."
|
||||
unzip -qo "${CDROM_ROOT}"/data/common.zip -d "$Ddir"
|
||||
einfo "Unpacking bin-x86.tar.gz from Disk..."
|
||||
tar xzf "${CDROM_ROOT}"/data/bin-x86.tar.gz -C "$Ddir"
|
||||
einfo "Unpacking libs-x86.tar.gz from Disk..."
|
||||
tar xzf "${CDROM_ROOT}"/data/libs-x86.tar.gz -C "$Ddir"
|
||||
einfo "Unpacking Ankh.tar.gz from Disk..."
|
||||
tar xzf "${CDROM_ROOT}"/data/Ankh.tar.gz -C "$Ddir"
|
||||
|
||||
find ${Ddir} -exec touch '{}' \;
|
||||
# Argh the Program saves the settings in his install dir :(
|
||||
# so we have to set some dir to be writeable by the group
|
||||
chmod g+w ${Ddir}/media/ # the settings are saved here
|
||||
chmod g+w ${Ddir}/bin/release # the log-files are saved here
|
||||
dosym ${dir}/Ankh /usr/games/bin/ankh
|
||||
find "${Ddir}" -exec touch '{}' \;
|
||||
# Argh the Program saves the settings in his install dir :(
|
||||
# so we have to set some dir to be writeable by the group
|
||||
chmod g+w "${Ddir}"/media/ # the settings are saved here
|
||||
chmod g+w "${Ddir}"/bin/release # the log-files are saved here
|
||||
dosym "${dir}"/Ankh /usr/games/bin/ankh
|
||||
|
||||
prepgamesdirs
|
||||
make_desktop_entry ankh "Ankh" ${dir}/Ankh.xpm
|
||||
}
|
||||
prepgamesdirs
|
||||
make_desktop_entry ankh "Ankh" "${dir}"/Ankh.xpm
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue