updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / emacs-auto-complete-git / PKGBUILD
blob4abb8fed9042a60b38126d90728acdba6d3d1677
1 # Contributor: m039 <flam44 (at) gmail (dot) com>
3 pkgname=emacs-auto-complete-git
4 pkgver=20110618
5 pkgrel=1
6 pkgdesc="Auto Complete Mode is the most intelligent auto-completion extension for GNU Emacs."
7 url="http://cx4a.org/software/auto-complete/"
8 arch=('any')
9 license=('GPL3')
10 depends=('emacs')
11 makedepends=('git' 'make')
12 install=$pkgname.install
14 _gitroot="http://cx4a.org/repo/auto-complete.git"
15 _gitname="auto-complete"
17 _pkg_emacs=$pkgdir/usr/share/emacs/site-lisp/
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 $_pkg_emacs/$_gitname
28     cd $srcdir/$_gitname
29     
30     make
31     make install DIR=$_pkg_emacs/$_gitname