39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'emacs-ess'
|
|
pkgname=emacs-ess
|
|
reverts="18.10r1_1"
|
|
version=18.10.2
|
|
revision=5
|
|
makedepends="emacs perl"
|
|
depends="emacs R"
|
|
short_desc="Emacs Speaks Statistics: A Universal Interface for Statistical Analysis"
|
|
maintainer="Florian Wagner <florian@wagner-flo.net>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://ess.r-project.org"
|
|
_juliarev=ec01995f60486480cf2240bbd3b9a2ff3fa9e0f0
|
|
distfiles="https://ess.r-project.org/downloads/ess/ess-${version}.tgz
|
|
https://raw.githubusercontent.com/JuliaEditorSupport/julia-emacs/${_juliarev}/julia-mode.el"
|
|
checksum="f77b42283c698da091aabca9ccd14a648c3240f00898b93128490feefa04e9d6
|
|
132915c0f04c3ab755e78d7bbc89d58f033a67e1a56e685f14dfeb8078cd69b3"
|
|
nocross="emacs is nocross"
|
|
|
|
skip_extraction="julia-mode.el"
|
|
|
|
post_extract() {
|
|
cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/julia-mode.el \
|
|
lisp/julia-mode.el
|
|
}
|
|
|
|
pre_configure() {
|
|
sed -e '/^ELS = \$(wildcard \*\.el)$/s@$@ $(wildcard obsolete/*.el)@' -i lisp/Makefile
|
|
sed -e '/^ cd doc; \$(MAKE) \$@/d' -i Makefile
|
|
cat Makefile
|
|
}
|
|
|
|
do_build() {
|
|
make prefix=/usr
|
|
}
|
|
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR}/usr INFODIR=${DESTDIR}/usr/share/info/ install
|
|
}
|