1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="Supplies an initial emacs buffer content via a template"
6 url="http://emacs-template.sourceforge.net/"
10 source=(http://downloads.sourceforge.net/project/$pkgname/template/$pkgver/template-$pkgver.tar.gz)
11 md5sums=('c17c8346535f3056f2005a0eaf2d16f5')
12 install=emacs-template.install
14 cd $srcdir/template/lisp
15 emacs -batch -q -f batch-byte-compile template.el || return 1
16 install -d $pkgdir/usr/share/emacs/site-lisp || return 1
17 install -m644 template.el{,c} $pkgdir/usr/share/emacs/site-lisp || return 1
18 install -d $pkgdir/usr/share/doc/emacs-template || return 1
19 install -m644 $srcdir/template/templates/* \
20 $pkgdir/usr/share/doc/emacs-template || return 1