1 # ELIM, an Emacs client to libpurple
2 # Contributor: Andre Ramaciotti da Silva
3 # andre.ramaciotti <at> gmail.com
8 pkgdesc="ELIM is an IM client for Emacs."
10 url="https://savannah.nongnu.org/projects/elim"
12 depends=('emacs' 'libpurple' 'libxml2' 'glib2')
14 conflicts=('emacs-elim')
16 install=emacs-elim.install
18 _gitroot=git://git.savannah.nongnu.org/elim.git
23 msg "Connecting to the GIT server...."
24 if [ -d $_gitname ]; then
25 (cd $_gitname; git pull origin)
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
34 LDFLAGS= make || return 1
36 install -d ${pkgdir}/usr/{bin,share/{emacs/site-lisp,doc/emacs-elim}}
37 install -m755 ${srcdir}/elim-build/elim-client ${pkgdir}/usr/bin
38 install -m644 ${srcdir}/elim-build/elisp/* ${pkgdir}/usr/share/emacs/site-lisp
39 install -m644 ${srcdir}/elim-build/README ${pkgdir}/usr/share/doc/emacs-elim
41 cd ${pkgdir}/usr/share/emacs/site-lisp
43 emacs -batch -q -f batch-byte-compile ${_i}