Advertisement
msx

emacs-bufflist+.PKGBUILD

msx
Oct 9th, 2012
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.83 KB | None | 0 0
  1. ~/tmp/emacs-buffmenu+ $ cat PKGBUILD
  2. # Contributor: Martín Cigorraga <msx@archlinux.us>
  3. pkgname=emacs-buffmenu+
  4. pkgver=20120828
  5. pkgrel=1
  6. pkgdesc="Provides enhancements to the standard BufferMenu."
  7. arch=('any')
  8. url="http://www.emacswiki.org/BufferMenuPlus"
  9. depends=('emacs')
  10. license=('GPL2+')
  11. provides=('emacs-buffmenu+')
  12. conflicts=('emacs-buffmenu+')
  13. install=$pkgname.install
  14. source=(http://www.emacswiki.org/emacs-en/download/buff-menu%2b.el)
  15. md5sums=('816dcc9961bcc1d6582a6edc95c6954a')
  16.  
  17. build() {
  18.   # rename to buff-menu+.el
  19.   mv buff-menu%2b.el buff-menu+.el
  20.   # compile for speed
  21.   emacs -Q -L . -batch -f batch-byte-compile *.el
  22. }
  23.  
  24. package() {
  25.   # create destination path
  26.   install -d $pkgdir/usr/share/emacs/site-lisp
  27.   # copy over file into path
  28.   cp $srcdir/buff-menu+.{el,elc} $pkgdir/usr/share/emacs/site-lisp
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement