spacemacs/layers/+distributions/spacemacs-docker/deps-install/installers/pandoc/install.el

27 lines
942 B
EmacsLisp
Raw Normal View History

2016-10-25 12:45:45 +00:00
#!/usr/bin/emacs --script
;;; install.el --- pandoc layer dependencies installation script
;;
2018-01-04 07:00:25 +00:00
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
2016-10-25 12:45:45 +00:00
;;
;; Author: Eugene "JAremko" Yaremenko <w3techplayground@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(load (expand-file-name "../../lib/deps-install-helpers.el"
(file-name-directory
load-file-name)) nil t)
2016-10-25 12:45:45 +00:00
2018-05-15 11:42:33 +00:00
(let* ((pandoc-version "2.2.1")
2017-12-31 16:04:09 +00:00
(pandoc-url (concat "https://github.com/jgm/pandoc/releases/download/"
(format "%s/pandoc-%s-1-amd64.deb"
pandoc-version
pandoc-version))))
(with-build-dir (tpd "/tmp/pandoc")
(with-installed (wget)
($ `("wget %s -O pandoc.deb" ,pandoc-url)
"dpkg -i ./pandoc.deb"
"apt-get install -f"))))