Add function/binding for updating SRCINFO to pkgbuild-mode

This commit is contained in:
Adam Goldsmith 2019-07-17 22:10:09 -04:00
parent bd21045064
commit cb798a6b74

View File

@ -727,10 +727,14 @@
:hook (python-mode . (lambda ()(setq-local helm-dash-docsets '("Python 3")))))
(use-package pkgbuild-mode
:bind (:map pkgbuild-mode-map ("C-c i" . pkgbuild-printsrcinfo))
:config
(setq pkgbuild-user-full-name "Adam Goldsmith"
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
:mode "\\.qml\\'"