Skip to content
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

Handle updating of .SRCINFO #18

Merged
merged 2 commits into from
Apr 25, 2020
Merged

Handle updating of .SRCINFO #18

merged 2 commits into from
Apr 25, 2020

Conversation

panchoh
Copy link
Contributor

@panchoh panchoh commented Apr 25, 2020

Hi!

I've added support for updating the .SRCINFO files required by the AUR.

The task was previously performed by running mksrcinfo (see #12), but this is now deprecated, since it can be achieved now by simply running makepkg --printsrcinfo > .SRCINFO

I've mapped the new function to C-c C-s (s for SRCINFO).

Feel free to comment, especially since I'm quite new to Emacs Lisp.

(For instance, I'm not sure why I have to add (interactive) when defining pkgbuild-update-srcinfo, but the function won't be available unless I do so...)

Thanks!

¹: https://wiki.archlinux.org/index.php/.SRCINFO

@juergenhoetzel juergenhoetzel merged commit bc22301 into juergenhoetzel:master Apr 25, 2020
@juergenhoetzel
Copy link
Owner

Thanks! I just amended the "trailing parenthese".

@panchoh
Copy link
Contributor Author

panchoh commented Apr 25, 2020

Thanks! I just amended the "trailing parenthese".

Appreciated!

@panchoh panchoh deleted the srcinfo branch April 25, 2020 06:18
smile13241324 pushed a commit to syl20bnr/spacemacs that referenced this pull request May 8, 2020
The function pkgbuild-update-srcinfo was just added¹ to pkgbuild-mode,
and allows to easily produce a .SRCINFO file for a given PKGBUILD,
which is a required¹ element of an AUR package.

¹: juergenhoetzel/pkgbuild-mode#18
²: https://wiki.archlinux.org/index.php/.SRCINFO
aam-at pushed a commit to aam-at/spacemacs that referenced this pull request Mar 23, 2021
The function pkgbuild-update-srcinfo was just added¹ to pkgbuild-mode,
and allows to easily produce a .SRCINFO file for a given PKGBUILD,
which is a required¹ element of an AUR package.

¹: juergenhoetzel/pkgbuild-mode#18
²: https://wiki.archlinux.org/index.php/.SRCINFO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants