mini-prompt
mini-prompt copied to clipboard
Added PKGBUILD for AUR
I've added a PKGBUILD file so that you can distribute your project on AUR
Steps you need to follow:
- Create an account on https://aur.archlinux.org/ and follow https://wiki.archlinux.org/title/AUR_submission_guidelines#Authentication to add an ssh key and config for the authentication
- If you make changes to the PKGBUILD, test them by running
makepkg -sormakepkg -si - After changes create/update the .SRCINFO file by running
makepkg --printsrcinfo > .SRCINFO git clone ssh://[email protected]/miniprompt-git.gitThis will create an empty repo if it doesn't exist yet with the name "miniprompt-git" on the AUR git. Later you can just keep pushing to it, to update your package in the AUR.- Copy the PKGBUILD and .SRCINFO files into said empty repo
- git add -A && git commit -m 'Initial commit' && git push
What you have to keep in mind:
- Usually it is considered bad practice to touch anything in the users home, so I've put the miniprompt script into /usr/bin as is recommended in the wiki. For the config files, I think it is a reasonable exception, so they will be installed in
$XDG_CONFIG_HOMEif set or$HOME/.config/minipromptotherwise. - If you do not change the release version
pkgverbut want to update the PKGBUILD, you need to bumppkgrel, otherwise the package will not be updated in the AUR. - The
pkgvershould be updated automatically on run by thepkgver()function. This means, the users will get the newest version, even if you don't update the PKGBUILD, but it might be cleaner if you update it on each release.
Cheers
Hey @Pocco81
do you still plan to look at this eventually, or would you like me to publish it on the AUR instead?
No stress, just wondering - cheers!
Oh yeah definitely! I've just been busy with other things. I promise I'll publish it, eventually... :+1: