pkgbuild-mode: Generate .SRCINFO when saving file/updating checksums
This commit is contained in:
parent
2554afa44a
commit
6d2f831304
@ -784,7 +784,12 @@
|
|||||||
pkgbuild-makepkg-command "PKGEXT='.pkg.tar' makepkg -mf")
|
pkgbuild-makepkg-command "PKGEXT='.pkg.tar' makepkg -mf")
|
||||||
(defun pkgbuild-printsrcinfo ()
|
(defun pkgbuild-printsrcinfo ()
|
||||||
(interactive)
|
(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
|
(use-package qml-mode
|
||||||
:mode "\\.qml\\'"
|
:mode "\\.qml\\'"
|
||||||
|
Loading…
Reference in New Issue
Block a user