void-packages/srcpkgs/emacs-ess/template

28 lines
958 B
Bash

# Template file for 'emacs-ess'
pkgname=emacs-ess
version=17.11
revision=1
noarch=yes
depends="emacs R"
makedepends="emacs perl"
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=2ef6992125a85674532a1e37dacd5c60bee4feeb
_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="484773fcfa2463fbbb9470cbdcf8e628500ca6cf97fb751ac72eed198d5fa715
d0f7cf7e5ef5ede8a79ac72bffb0618414c2d60853646168532afe1757a21b2c"
wrksrc=ess-${version}
do_build() {
cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_juliafile} lisp/julia-mode.el
make prefix=/usr
}
do_install() {
make DESTDIR=${DESTDIR}/usr INFODIR=${DESTDIR}/usr/share/info/ install
}