# run OMNeT++ as a normal user
mkdir -p ${pkgdir}/opt/${pkgname}/ide
touch ${pkgdir}/opt/${pkgname}/ide/error.log
chmod 777 ${pkgdir}/opt/${pkgname}/ide/error.log
can be removed.
Log is now written to XDG_STATE_HOME
folder by default, i.e. to $HOME/.local/state/omnetpp/ide-error.log
.
qt5-base
should be replace by qt6-base
as Qtenv is now using Qt 6.x.
Note sure if still true for 6.2, but qt6-svg
might be needed to display some icons in the GUI.
Pinned Comments
ekkelett commented on 2021-04-27 08:40 (UTC) (edited on 2021-04-27 08:43 (UTC) by ekkelett)
I'll try to bring this package and omnetpp-preview into line with one another.
The paths issue seems to be fairly straightforward: the order of creating the prerequisite installation directories is not correct.
That being said, I'm likely to move almost all of the installation into /opt/omnetpp rather than spreading it across the FHS. I'd like to hear back from you what you'd prefer and what you think about that.
EDIT: Note that requesting an amended PKGBUILD without the defects that h3ndrk pointed out is not done through flagging the package as out of date. 5.6.2 is still current. Please leave a comment instead.