1
0

app-emulation/x16-emulator: fix absolute symlink

This commit is contained in:
Ryan Fox 2023-10-28 16:51:07 -07:00
parent 59b81e313b
commit a3d8ba6513
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -56,5 +56,5 @@ src_install() {
dodir /opt/${PN}
cp "${S}/x16emu" "${D}/opt/${PN}" || die
use rom && cp "${WORKDIR}/${ROM_P}/build/x16/rom.bin" "${D}/opt/${PN}" || die
dosym "${EPREFIX}/opt/${PN}/x16emu" "${EPREFIX}/usr/bin/x16emu"
dosym ../../opt/"${PN}"/x16emu /usr/bin/x16emu
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -56,5 +56,5 @@ src_install() {
dodir /opt/${PN}
cp "${S}/x16emu" "${D}/opt/${PN}" || die
use rom && cp "${WORKDIR}/${ROM_P}/build/x16/rom.bin" "${D}/opt/${PN}" || die
dosym "${EPREFIX}/opt/${PN}/x16emu" "${EPREFIX}/usr/bin/x16emu"
dosym ../../opt/"${PN}"/x16emu /usr/bin/x16emu
}