4 pkgdesc="A wrapper for LaTeX and friends, latest bzr version."
6 url="https://launchpad.net/rubber"
8 depends=('python2' 'texlive-core')
9 makedepends=('bzr' 'texinfo')
12 replaces=('rubber-darcs')
13 source=('install.patch')
14 md5sums=('29b6260060f620237fd3a429c8e752ec')
16 _bzrtrunk="https://code.launchpad.net/~rubber-devs/rubber/main"
21 msg "Connecting to Bazaar server...."
23 if [ -d $_bzrmod ] ; then
24 cd ${_bzrmod} && bzr --no-plugins pull ${_bzrtrunk} -r ${pkgver}
25 msg "The local files are updated."
27 bzr --no-plugins branch ${_bzrtrunk} ${_bzrmod} -q -r ${pkgver}
30 msg "Bazaar checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_bzrmod-build"
34 cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
35 cd "$srcdir/$_bzrmod-build"
36 patch -p1 < ../install.patch
42 ./configure --prefix=/usr
47 cd "$srcdir/$_bzrmod-build"
48 make DESTDIR="$pkgdir/" install