updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / emacs-protobuf-mode / PKGBUILD
blob1c00e4dbb53743e7dadf5414d174dcf9f59f01f0
1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=emacs-protobuf-mode
3 pkgver=0.3
4 pkgrel=3
5 pkgdesc="Emacs mode for Google protobuf"
6 arch=('any')
7 url="http://protobuf.googlecode.com/"
8 depends=('emacs')
9 source=(protobuf-mode.el)
10 md5sums=('53e72132d5e71189137d6bd19d680178')
11 license=('custom')
12 install=${pkgname}.install
13 build() {
14         cd ${srcdir}
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"