aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-scala-mode
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-scala-mode')
-rw-r--r--emacs-scala-mode/PKGBUILD28
-rw-r--r--emacs-scala-mode/emacs_scala_mode.install5
-rwxr-xr-xemacs-scala-mode/watch19
3 files changed, 0 insertions, 52 deletions
diff --git a/emacs-scala-mode/PKGBUILD b/emacs-scala-mode/PKGBUILD
deleted file mode 100644
index cd93128..0000000
--- a/emacs-scala-mode/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
-# Contributor: Sylvain HENRY <hsyl20@gmail.com>
-# Contributor: Jeff Bowman <jeff.t.bowman@gmail.com>
-
-pkgname=emacs-scala-mode
-pkgver=2.10.2
-pkgrel=1
-pkgdesc="Scala-mode for emacs"
-arch=('any')
-url="http://www.scala-lang.org"
-license=('custom')
-depends=('emacs')
-makedepends=('make')
-source=(http://www.scala-lang.org/downloads/distrib/files/scala-tool-support-${pkgver}.tgz)
-md5sums=('57d6618074b0e0421aa528830f47b0dd')
-install=emacs_scala_mode.install
-
-build() {
- cd "$srcdir/scala-tool-support-${pkgver}/scala-emacs-mode"
- make
-}
-
-package() {
- cd "$srcdir/scala-tool-support-${pkgver}/scala-emacs-mode"
- mkdir -p "${pkgdir}/usr/share/emacs/scala-mode"
- install -m0644 *.elc "${pkgdir}/usr/share/emacs/scala-mode/"
-}
-
diff --git a/emacs-scala-mode/emacs_scala_mode.install b/emacs-scala-mode/emacs_scala_mode.install
deleted file mode 100644
index d70c89a..0000000
--- a/emacs-scala-mode/emacs_scala_mode.install
+++ /dev/null
@@ -1,5 +0,0 @@
-post_install() {
- echo "Add the following lines to your ~/.emacs file:"
- echo "(add-to-list 'load-path \"/usr/share/emacs/scala-mode\")"
- echo "(require 'scala-mode-auto)"
-}
diff --git a/emacs-scala-mode/watch b/emacs-scala-mode/watch
deleted file mode 100755
index 2422906..0000000
--- a/emacs-scala-mode/watch
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-wget http://www.scala-lang.org/downloads -O - 2>/dev/null | grep -Po 'scala-tool-support-.+>' | head -n 2 > release
-
-if [ $? = 0 ]; then
- [ -f unfetchable ] && rm unfetchable
- md5sum release > new-sum
- touch sum
- if [ "$(cat sum)" = "$(cat new-sum)" ]; then
- rm new-sum
- else
- mv new-sum sum
- echo 'emacs-scala-mode'
- fi
-elif [ ! -f unfetchable ]; then
- touch unfetchable
- echo 'emacs-scala-mode (unfetchable)'
-fi
-