diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 97ea2dc..a7c38e4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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\\'"