pkgbuild-mode: Generate .SRCINFO when saving file/updating checksums

This commit is contained in:
Adam Goldsmith 2021-01-04 13:22:01 -05:00
parent 2554afa44a
commit 6d2f831304
1 changed files with 6 additions and 1 deletions

View File

@ -784,7 +784,12 @@
pkgbuild-makepkg-command "PKGEXT='.pkg.tar' makepkg -mf")
(defun pkgbuild-printsrcinfo ()
(interactive)
(shell-command "makepkg --printsrcinfo > .SRCINFO")))
(shell-command "makepkg --printsrcinfo > .SRCINFO"))
(defun pkgbuild-update-sums-line ()
(interactive)
(shell-command "updpkgsums")
(pkgbuild-printsrcinfo)
(revert-buffer t t t)))
(use-package qml-mode
:mode "\\.qml\\'"