diff options
author | P. A. López-Valencia | 2015-07-07 17:13:54 -0500 |
---|---|---|
committer | P. A. López-Valencia | 2015-07-07 17:13:54 -0500 |
commit | fe8dd92f732d0f4195ec545b302cb36e14af70dd (patch) | |
tree | b3d99720c6442b5f3892ef645a812aced2a0cd6b | |
download | aur-fe8dd92f732d0f4195ec545b302cb36e14af70dd.tar.gz |
6.7
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | emacs-sml-mode.install | 11 |
4 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d0e4490c10d5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = emacs-sml-mode + pkgdesc = An SML editing mode for emacs + pkgver = 6.7 + pkgrel = 1 + url = http://elpa.gnu.org/packages/sml-mode.html + install = emacs-sml-mode.install + arch = any + license = GPL3 + depends = emacs + source = http://elpa.gnu.org/packages/sml-mode-6.7.el + sha256sums = 3db9673b7c23e3ee58d8f0e748871700125fa0e44cdf14754a3ed6787aaf2d10 + +pkgname = emacs-sml-mode + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e78e7f3fd255 --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +*~ +pkg/ +src/ +*.gz +*.bz2 +*.xz +*.lzo +*.xz4 +*.tgz +*.tbz +*.txz +*.tar +*.jar +*.zip +*.el +*.elc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..02d399f7c1ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# See AUR interface for current maintainer. +# Contributor: Nick Smallbone <nick.smallbone@gmail.com> +pkgname=emacs-sml-mode +pkgver=6.7 +pkgrel=1 +pkgdesc="An SML editing mode for emacs" +arch=(any) +url="http://elpa.gnu.org/packages/sml-mode.html" +license=('GPL3') +depends=(emacs) +makedepends=() +install=emacs-sml-mode.install +source=("http://elpa.gnu.org/packages/sml-mode-$pkgver.el") +sha256sums=('3db9673b7c23e3ee58d8f0e748871700125fa0e44cdf14754a3ed6787aaf2d10') + +build() { + cd "$srcdir" + mv sml-mode-$pkgver.el sml-mode.el + emacs -batch -f batch-byte-compile sml-mode.el +} + +package() { + cd "$srcdir" + mkdir -p "$pkgdir/usr/share/emacs/site-lisp" + install -m644 sml-mode.el sml-mode.elc "$pkgdir/usr/share/emacs/site-lisp" +} + +# vim:set ts=2 sw=2 et: diff --git a/emacs-sml-mode.install b/emacs-sml-mode.install new file mode 100644 index 000000000000..e0d6a62d636d --- /dev/null +++ b/emacs-sml-mode.install @@ -0,0 +1,11 @@ +post_install() { + cat <<EOF +==> Put this in your $HOME/.emacs file to enable SML mode + (require 'sml-mode) +EOF +} + + +post_upgrade() { + post_install $1 +} |