-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for post installation script #10
Comments
What would the argument to the option be? A string to be inserted verbatim? |
Any updates on this? |
I'm thinking about a path to the executable that will be called after the installation |
|
I couldn't find such a flag within My original idea was about performing additional actions just after binary installation. Looking back, I've got no idea why did I suggest And to the background for this issue: I've got a binary that generates manpages and bash completions. It would be awesome if I could setup them during the installation process! |
Ah now I see. Is the binary that generates the manpages and completions separate from the binary produced by |
Ideally both options should be available, but in my case it's the binary that generates manpages and completions :) |
Since PKGBUILDs are downloaded and ran by users, and |
It's the same binary that is built by the https://github.com/clap-rs/clap/tree/master/clap_mangen |
So perhaps we should return to the original request:
This is generally reasonable. I could add a new config field that accepts a list of raw strings that would be inserted verbatim into the |
Love it! I would also like to thank you for the time you put into this repo. It really does its job :) |
I'm glad it's helping you! |
Update: I have this scheduled to work on in mid-December. |
Will do during the weekend :) |
This section of the updated README explains the change fully: https://github.com/fosskers/cargo-aur/blob/6ea9720f902f737bfd4b274f23689d4f865cde8b/README.md#custom-commands-within-package |
Simply- add an option that will allow to insert a line inside
package()
The text was updated successfully, but these errors were encountered: