From f324e8371df5cb05be164a62e7c5b440958a5578 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 11 Jun 2013 14:55:11 +0200 Subject: adopt emacs-scala-mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- emacs-scala-mode/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 emacs-scala-mode/PKGBUILD (limited to 'emacs-scala-mode/PKGBUILD') 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 +# Contributor: Jeff Bowman + +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/" +} + -- cgit v1.2.3-70-g09d2