updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / auto-complete / PKGBUILD
blob5bdddeac332afd9f7947a79f3fbf3140630b2f85
1 # Maintainer: abf <zouxiaoming@gmail.com>
3 pkgname=auto-complete
4 pkgver=1.3.1
5 pkgrel=1
6 pkgdesc="A plugin for emacs that allows to auto-complete.Auto Complete Mode is the most intelligent auto-completion extension for GNU Emacs."
7 arch=('any')
8 url="http://cx4a.org/software/auto-complete/"
9 license=('GPL3')
10 install=$pkgname.install
11 depends=()
12 optdepends=('emacs')
13 source=(http://cx4a.org/pub/auto-complete/$pkgname-$pkgver.tar.bz2)
14 md5sums=('0ffdc1223d40b8ebc57495e33708ceea')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   make
21 package() {
22   cd "$srcdir/$pkgname-$pkgver"
23   mkdir -p $pkgdir/usr/share/$pkgname
24   mkdir -p $pkgdir/usr/share/emacs/site-lisp/
25   make DIR="$pkgdir/usr/share/$pkgname" install 
26   ln -s /usr/share/$pkgname $pkgdir/usr/share/emacs/site-lisp/$pkgname
29 # vim:set ts=2 sw=2 et: