summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64b46f467926fd3d3f9aea827ae448927bf5e77d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Daichi Shinozaki <dsdseg@gmail.com>
# Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
pkgname=emacs-haxe
pkgver=0.3.3
pkgrel=2
pkgdesc="Major mode for editing Haxe files."
arch=('any')
url="https://github.com/emacsorphanage/haxe-mode"
license=('GPL-3.0-or-later')
depends=('emacs')
install=$pkgname.install
source=(https://raw.githubusercontent.com/emacsorphanage/haxe-mode/0.3.3/haxe-mode.el)
md5sums=('9f322aa78c9fad5c390267e6c8b6a5d7')

package() {
  cd $srcdir
  mkdir -p $pkgdir/usr/share/emacs/site-lisp
  emacs --batch --eval '(progn
			(push "." load-path)
			(byte-compile-file "haxe-mode.el"))' || return 1
  cp haxe-mode.el{,c} $pkgdir/usr/share/emacs/site-lisp || return 1
}