updated on Tue Jan 17 00:10:10 UTC 2012
[aur-mirror.git] / vigedit-bzr / PKGBUILD
blob3ca5e8d0a7e311fda343367a537ed6e2d50af73d
1 # Maintainer: Lauri Niskanen <ape@ape3000.com>
3 pkgname=vigedit-bzr
4 pkgver=74
5 pkgrel=1
6 pkgdesc="Plugin for Gedit, which provides Vim key bindings to the Gedit editor"
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/vigedit"
9 license=('GPL')
10 depends=('gedit-plugins-extra')
11 makedepends=('bzr')
12 provides=('vigedit')
13 conflicts=('vigedit')
15 _bzrbranch="lp:~delfick/vigedit/vigedit-additions"
16 _bzrmod="vigedit"
18 build() {
19    cd ${srcdir}
21   msg "Connecting to the server...."
23   if [ ! -d ./${_bzrmod} ]; then
24     bzr co ${_bzrbranch} ${_bzrmod}
25   else
26     bzr up ${_bzrmod}
27   fi
29   msg "BZR checkout done or server timeout"
30   msg "Installing..."
32   cd ./${_bzrmod}
34   python install.py -b ${pkgdir}/usr/lib/gedit-2 -p ViGedit