void-packages/srcpkgs/emacs-ess/template
Florian Wagner 048f03da01 New package: emacs-ess-16.10
Closes: #7471 [via git-merge-pr]
2017-09-04 13:32:01 -04:00

27 lines
950 B
Bash

# Template file for 'emacs-ess'
pkgname=emacs-ess
version=16.10
revision=1
noarch=yes
depends="emacs R"
makedepends="emacs"
short_desc="Emacs Speaks Statistics: A Universal Interface for Statistical Analysis"
maintainer="Florian Wagner <florian@wagner-flo.net>"
license="GPL-2"
homepage="http://ess.r-project.org"
_juliarev=edaaff2e971a527460f838bebc0ef679f9a571b0
_juliafile=julia-mode-${_juliarev}.el.txt
distfiles="http://ess.r-project.org/downloads/ess/ess-${version}.tgz
https://raw.githubusercontent.com/JuliaEditorSupport/julia-emacs/${_juliarev}/julia-mode.el>${_juliafile}"
checksum="535e011c56108399aadd174fd63491c4d4d5ebd1522e310fdd02523f2ea7a812
815337acc627cf8d3c6804b186ccaa68ce2b6865bcfd158b68aa1dcd1d9b29ad"
wrksrc=ess-${version}
do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_juliafile} lisp/julia-mode.el
make prefix=/usr
}
do_install() {
make DESTDIR=${DESTDIR}/usr INFODIR=${DESTDIR}/usr/share/info/ install
}