37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'emacs-ess'
|
|
pkgname=emacs-ess
|
|
reverts="18.10r1_1"
|
|
version=18.10.2
|
|
revision=2
|
|
archs=noarch
|
|
create_wrksrc=yes
|
|
build_wrksrc="ess-${version}"
|
|
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
|
|
_juliafile=julia-mode-${_juliarev}.el.txt
|
|
distfiles="https://ess.r-project.org/downloads/ess/ess-${version}.tgz
|
|
https://raw.githubusercontent.com/JuliaEditorSupport/julia-emacs/${_juliarev}/julia-mode.el>${_juliafile}"
|
|
checksum="f77b42283c698da091aabca9ccd14a648c3240f00898b93128490feefa04e9d6
|
|
132915c0f04c3ab755e78d7bbc89d58f033a67e1a56e685f14dfeb8078cd69b3"
|
|
nocross="emacs is nocross"
|
|
|
|
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() {
|
|
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
|
|
}
|