1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=emacs-protobuf-mode
5 pkgdesc="Emacs mode for Google protobuf"
7 url="http://protobuf.googlecode.com/"
9 source=(protobuf-mode.el)
10 md5sums=('53e72132d5e71189137d6bd19d680178')
12 install=${pkgname}.install
15 emacs -batch -f batch-byte-compile protobuf-mode.el || return 1
16 install -D -m644 "$srcdir/protobuf-mode.el" \
17 "$pkgdir/usr/share/emacs/site-lisp/protobuf-mode.el"
18 install -D -m644 "$srcdir/protobuf-mode.elc" \
19 "$pkgdir/usr/share/emacs/site-lisp/protobuf-mode.elc"