updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / emacs-eproject-git / PKGBUILD
blob4e585682260273c6a207576d405e7826cc3e51b0
1 # -*- mode: sh; -*-
2 # Contributor: stuck_pxl <flam44@gmail.com>
4 pkgname=emacs-eproject-git
5 pkgver=20110327
6 pkgrel=1 
7 pkgdesc="eproject is an Emacs extension that adds the concept of projects to Emacs"
8 url="https://github.com/jrockway/eproject/wiki"
9 arch=('any')
10 license=('GPL2')
11 depends=('emacs>=23')
12 makedepends=('git')
14 _gitroot="git://github.com/jrockway/eproject.git"
15 _gitname="eproject"
17 install=$pkgname.install
19 build() {
20     if [ -d $srcdir/$_gitname/ ]; then
21         cd $srcdir/$_gitname/ && git pull origin
22     else
23         git clone $_gitroot $_gitname
24     fi
26     install -d $pkgdir/usr/share/emacs/site-lisp/$_gitname/
27     install -m644 $srcdir/$_gitname/*.el -t $pkgdir/usr/share/emacs/site-lisp/$_gitname/