If anyone has some detailed documentation on
how to update from .install to pacman 5.0 hooks or hooks in general, I
would love to read it so I can better understand what's going on.

Just remove the install files.
It's all handled automatically by the hooks.

Look at the update-mime-database.hook for example


[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/mime/packages/*.xml

[Action]
Description = Updating the MIME type database...
When = PostTransaction
Exec = /usr/bin/update-mime-database /usr/share/mime


This hook will be executed whenever a *.xml file in
/usr/share/mime/packages is installed/changed/removed
by pacman.

So you don't have to care about if a package contains
such a file anymore. The hook does it for you.

Please correct me if I'm wrong.

Michael

Reply via email to