diff --git a/recipes/plantuml-mode.rcp b/recipes/plantuml-mode.rcp new file mode 100644 index 00000000..3d18e2e3 --- /dev/null +++ b/recipes/plantuml-mode.rcp @@ -0,0 +1,10 @@ +(:name plantuml-mode + :description "Major mode for PlantUML." + :type github + :pkgname "zwz/plantuml-mode" + :post-init (let ((plantuml-url "http://sourceforge.net/projects/plantuml/files/plantuml.jar/download") + (plantuml-jar (expand-file-name "plantuml.jar" default-directory))) + (when (not (file-exists-p plantuml-jar)) + (url-copy-file plantuml-url plantuml-jar))) + :prepare (setq plantuml-jar-path + (expand-file-name "plantuml.jar" default-directory)))