1 # Maintainer: H.Gökhan Sarı <hsa2@difuzyon.net>
2 pkgname=pidgin-typewriter-bzr
5 pkgdesc="Pidgin/libpurple plugin to play typewriter sound when buddies are typing."
7 url="https://launchpad.net/pidgin-typewriter"
11 makedepends=('bzr' 'gnome-common')
14 _bzrtrunk="https://launchpad.net/pidgin-typewriter/trunk"
15 _bzrmod="pidgin-typewriter"
19 msg "Connecting to Bazaar server...."
21 if [ -d $_bzrmod ] ; then
22 cd ${_bzrmod} && bzr --no-plugins pull ${_bzrtrunk} -r ${pkgver}
23 msg "The local files are updated."
25 bzr --no-plugins branch ${_bzrtrunk} ${_bzrmod} -q -r ${pkgver}
28 msg "Bazaar checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_bzrmod-build"
32 cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
33 cd "$srcdir/$_bzrmod-build"
35 ./autogen.sh --prefix=/usr
40 cd "$srcdir/$_bzrmod-build"
41 make DESTDIR="$pkgdir/" install