1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="Emacs interface for Uzbl"
7 url=("https://github.com/haxney/ezbl")
9 depends=('uzbl-core' 'emacs-xwidget')
12 _gitroot="https://github.com/itsmyowninvention/ezbl.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 [ -d "$srcdir/$_gitname-build" ] && rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
32 emacs -batch -q -f batch-byte-compile ezbl.el
36 cd "$srcdir/$_gitname-build"
37 install -Dm644 ezbl.elc $pkgdir/usr/share/emacs/site-lisp/ezbl.elc
38 install -Dm644 ezbl.el $pkgdir/usr/share/emacs/site-lisp/ezbl.el
39 install -d $pkgdir/usr/share/doc/ezbl
40 install *.org $pkgdir/usr/share/doc/ezbl