Add function/binding for updating SRCINFO to pkgbuild-mode
This commit is contained in:
parent
bd21045064
commit
cb798a6b74
@ -727,10 +727,14 @@
|
|||||||
:hook (python-mode . (lambda ()(setq-local helm-dash-docsets '("Python 3")))))
|
:hook (python-mode . (lambda ()(setq-local helm-dash-docsets '("Python 3")))))
|
||||||
|
|
||||||
(use-package pkgbuild-mode
|
(use-package pkgbuild-mode
|
||||||
|
:bind (:map pkgbuild-mode-map ("C-c i" . pkgbuild-printsrcinfo))
|
||||||
:config
|
:config
|
||||||
(setq pkgbuild-user-full-name "Adam Goldsmith"
|
(setq pkgbuild-user-full-name "Adam Goldsmith"
|
||||||
pkgbuild-user-mail-address "contact@adamgoldsmith.name"
|
pkgbuild-user-mail-address "contact@adamgoldsmith.name"
|
||||||
pkgbuild-makepkg-command "PKGEXT='.pkg.tar' makepkg -mf"))
|
pkgbuild-makepkg-command "PKGEXT='.pkg.tar' makepkg -mf")
|
||||||
|
(defun pkgbuild-printsrcinfo ()
|
||||||
|
(interactive)
|
||||||
|
(shell-command "makepkg --printsrcinfo > .SRCINFO")))
|
||||||
|
|
||||||
(use-package qml-mode
|
(use-package qml-mode
|
||||||
:mode "\\.qml\\'"
|
:mode "\\.qml\\'"
|
||||||
|
Loading…
Reference in New Issue
Block a user