1 # Contributor: Daniel Garcia <dani@danigm.net>
2 # Maintainer: Daniel Garcia <dani@danigm.net>
7 pkgdesc="A microblogging Sweetter/Twitter client"
9 url="http://danigm.net/sweetgtk"
11 depends=('python' 'pygtk' 'python-notify' 'gnome-python-extras')
14 _bzrroot="http://repo.danigm.net/sweetgtk"
19 msg "Connecting to BZR server...."
21 if [ -d $_bzrname ] ; then
22 cd $_bzrname && bzr pull
23 msg "The local files are updated."
29 msg "BZR checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_bzrname-build"
33 bzr export "$srcdir/$_bzrname-build"
34 cd "$srcdir/$_bzrname-build"
40 DEST=$PREFIX/share/sweetgtk
44 cp -rf skel simplejson img $DEST
45 install -m 644 sweetgtk.glade *.py $DEST
47 install -m 644 -D img/sweetgtk.png $PREFIX/share/pixmaps/sweetgtk.png
48 install -m 644 -D sweetgtk.desktop $PREFIX/share/applications/sweetgtk.desktop
50 install -D -m 755 sweetgtk $PREFIX/bin/sweetgtk