Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/tmp/emacs-buffmenu+ $ cat PKGBUILD
- # Contributor: Martín Cigorraga <msx@archlinux.us>
- pkgname=emacs-buffmenu+
- pkgver=20120828
- pkgrel=1
- pkgdesc="Provides enhancements to the standard BufferMenu."
- arch=('any')
- url="http://www.emacswiki.org/BufferMenuPlus"
- depends=('emacs')
- license=('GPL2+')
- provides=('emacs-buffmenu+')
- conflicts=('emacs-buffmenu+')
- install=$pkgname.install
- source=(http://www.emacswiki.org/emacs-en/download/buff-menu%2b.el)
- md5sums=('816dcc9961bcc1d6582a6edc95c6954a')
- build() {
- # rename to buff-menu+.el
- mv buff-menu%2b.el buff-menu+.el
- # compile for speed
- emacs -Q -L . -batch -f batch-byte-compile *.el
- }
- package() {
- # create destination path
- install -d $pkgdir/usr/share/emacs/site-lisp
- # copy over file into path
- cp $srcdir/buff-menu+.{el,elc} $pkgdir/usr/share/emacs/site-lisp
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement