aboutsummaryrefslogblamecommitdiffstats
path: root/paredit/PKGBUILD
blob: d3237459a6c4c31e3fa4e22755e0b79abe50ac06 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                                        

               






                                                                    

                                                                               


              
                                                             




              
                                           
                                                               
                                          

                                                              
 
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=paredit
pkgver=23
_pkgver=$pkgver
pkgrel=2
pkgdesc="Emacs minor mode for pseudo-structurally editing Lisp code"
arch=('any')
url="http://www.emacswiki.org/emacs/ParEdit"
license=('GPL')
makedepends=('emacs')
install=paredit.install
changelog=ChangeLog
source=("http://mumble.net/~campbell/emacs/$pkgname-${_pkgver}.el")
sha256sums=('c8d154870902b1b8aad44168560c8785d5eff552e44b36baa493f5fda540e8da')

build() {
  cd "$srcdir"
  emacs -Q -batch -f batch-byte-compile paredit-${_pkgver}.el
}

package() {
  cd "$srcdir"

  install -D -m644 paredit-${_pkgver}.elc \
    "$pkgdir/usr/share/emacs/site-lisp/paredit.elc" || return 1
  install -D -m644 paredit-${_pkgver}.el \
    "$pkgdir/usr/share/emacs/site-lisp/paredit.el" || return 1
}