1 # Maintainer: Ryan Peters <sloshy45@sbcglobal.net>
2 # Contributor: (copied and pasted text from his PKGBUILD) Ismael Carnales <icarnales@gmail.com>
3 pkgname=rhythmbox-microblogger-git
6 pkgdesc="Post the song you are listening to on Rhythmbox to your microblog."
8 url="http://github.com/aliva/rhythmbox-microblogger"
10 depends=('rhythmbox' 'python')
12 provides=('rhythmbox-microblogger')
13 conflicts=('rhythmbox-microblogger')
15 _gitroot=git://github.com/aliva/rhythmbox-microblogger.git
16 _gitname=rhythmbox-microblogger
20 msg "Connecting to github.com GIT server..."
21 if [ -d $startdir/src/$_gitname ] ; then
22 cd $_gitname && git-pull origin
23 msg "The local files are updated."
27 mkdir -p "usr/lib/rhythmbox/plugins/"
28 mv "rhythmbox-microblogger/" "usr/lib/rhythmbox/plugins/rhythmbox-microblogger/"
29 cp -R "usr/" "$pkgdir/"