aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-scala-mode/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-06-11 14:55:11 +0200
committerMattias Andrée <maandree@operamail.com>2013-06-11 14:55:11 +0200
commitf324e8371df5cb05be164a62e7c5b440958a5578 (patch)
treeef2af056dc4cd3eb12b8e3fa025d6fa3c6c6f4cc /emacs-scala-mode/PKGBUILD
parentadopt consolekit-git (diff)
downloadaur-packages-f324e8371df5cb05be164a62e7c5b440958a5578.tar.gz
aur-packages-f324e8371df5cb05be164a62e7c5b440958a5578.tar.bz2
aur-packages-f324e8371df5cb05be164a62e7c5b440958a5578.tar.xz
adopt emacs-scala-mode
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'emacs-scala-mode/PKGBUILD')
-rw-r--r--emacs-scala-mode/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/emacs-scala-mode/PKGBUILD b/emacs-scala-mode/PKGBUILD
new file mode 100644
index 0000000..cd93128
--- /dev/null
+++ b/emacs-scala-mode/PKGBUILD
@@ -0,0 +1,28 @@
+# 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/"
+}
+