updated on Sat Jan 14 16:01:55 UTC 2012
[aur-mirror.git] / emacs-protbuf / PKGBUILD
blob7d80945a9d7f63740db729889033120e99afcc97
1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer: Laurent Ollagnier <laurent + aur at xenbox dot fr>
3 pkgname=emacs-protbuf  
4 pkgver=1.7
5 pkgrel=1 
6 pkgdesc="This package allows you to make it harder to kill buffers accidentally."
7 url="http://www.splode.com/~friedman/software/emacs-lisp/"
8 arch=('any')
9 license=('GPL2')
10 depends=('emacs')
11 install=$pkgname.install
12 source=(http://www.splode.com/~friedman/software/emacs-lisp/src/protbuf.el)
13 md5sums=('30b4328cb481ec0984939340a6b94663')
14 build() {
15   cd $startdir/src/
16   mkdir -p $startdir/pkg/usr/share/emacs/site-lisp
17   emacs --batch --eval '(progn
18                         (push "." load-path)
19                         (byte-compile-file "protbuf.el"))' || return 1
20   cp protbuf.el{,c} $startdir/pkg/usr/share/emacs/site-lisp || return 1