summaryrefslogtreecommitdiff
path: root/pcr/auto-complete/PKGBUILD
blob: afa9d869180cae0f05e837e7b1c7f171a29869f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: abf <zouxiaoming@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=auto-complete
pkgver=1.3.1
pkgrel=1
pkgdesc="A plugin for emacs that allows to auto-complete.Auto Complete Mode is the most intelligent auto-completion extension for GNU Emacs."
arch=('any')
url="http://cx4a.org/software/auto-complete/"
license=('GPL3')
install=$pkgname.install
depends=()
optdepends=('emacs')
source=(http://cx4a.org/pub/auto-complete/$pkgname-$pkgver.tar.bz2)
md5sums=('0ffdc1223d40b8ebc57495e33708ceea')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  mkdir -p $pkgdir/usr/share/$pkgname
  mkdir -p $pkgdir/usr/share/emacs/site-lisp/
  make DIR="$pkgdir/usr/share/$pkgname" install 
  ln -s /usr/share/$pkgname $pkgdir/usr/share/emacs/site-lisp/$pkgname
}

# vim:set ts=2 sw=2 et: