summaryrefslogtreecommitdiff
path: root/pcr/emacs-ess
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 08:43:46 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 08:43:46 -0500
commitabd0da776807fe51a6f54fcb1c00cbcf9d515b94 (patch)
treeaa6396292b8142fbb79f670a1277e0a4bb045362 /pcr/emacs-ess
parent78c7b11b9eed6e420ea262612a111cad2625cdff (diff)
emacs-ess: add new package to [pcr] -> https://labs.parabola.nu/issues/752
Diffstat (limited to 'pcr/emacs-ess')
-rw-r--r--pcr/emacs-ess/PKGBUILD24
-rw-r--r--pcr/emacs-ess/ess.install17
2 files changed, 41 insertions, 0 deletions
diff --git a/pcr/emacs-ess/PKGBUILD b/pcr/emacs-ess/PKGBUILD
new file mode 100644
index 000000000..fe01e3be2
--- /dev/null
+++ b/pcr/emacs-ess/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer (Arch): Stefan Husmann <Stefan-Husmann@t-online.de>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+pkgname=emacs-ess
+pkgver=15.03.1
+pkgrel=1
+pkgdesc="Emacs Speaks Statistics: A Universal Interface for Statistical Analysis"
+url="http://ess.r-project.org/"
+arch=('any')
+license=('GPL')
+depends=('emacs' 'r')
+replaces=('ess')
+provides=('ess')
+install=ess.install
+source=("http://ess.r-project.org/downloads/ess/ess-15.03-1.tgz")
+md5sums=('36ddd32daa346a36660cce176e36e617')
+
+build() {
+ cd $srcdir/ess-15.03-1
+ make prefix=/usr
+}
+package() {
+ cd $srcdir/ess-15.03-1
+ make DESTDIR=$pkgdir/usr INFODIR=$pkgdir/usr/share/info/ install
+}
diff --git a/pcr/emacs-ess/ess.install b/pcr/emacs-ess/ess.install
new file mode 100644
index 000000000..d06e4da2c
--- /dev/null
+++ b/pcr/emacs-ess/ess.install
@@ -0,0 +1,17 @@
+post_install() {
+ echo "Please put the lines"
+ echo "(setq load-path (cons \"/usr/share/emacs/site-lisp/ess\" load-path))"
+ echo "(require 'ess-site)"
+ echo "to your ~/.emacs"
+ install-info /usr/share/info/ess.info.gz /usr/share/info/dir
+}
+post_update() {
+ post_install
+}
+pre_remove() {
+ echo "Please remove the line containing"
+ echo "(setq load-path (cons \"/usr/share/emacs/site-lisp/ess\" load-path))"
+ echo "(load \"/usr/share/emacs/site-lisp/ess/ess-site\")"
+ echo "from your ~/.emacs"
+ install-info --delete /usr/share/info/ess.info.gz /usr/share/info/dir
+} \ No newline at end of file