1 # Author: Felipe Morales <hel.sheep@gmail.com>
2 # Maintainer: Felipe Morales <hel.sheep@gmail.com>
3 pkgname=indimpc_gnome-shell
6 pkgdesc="Minimalistic MPD client with support for multimedia keys and notifications (with gnome-shell integration)"
8 url="https://github.com/fmoralesc/indimpc"
10 depends=("dbus-python" "python-notify" "python-mpd")
11 install=${pkgname}.install
13 _gitroot="git://github.com/fmoralesc/indimpc.git"
15 _gitbranch="gnome-shell"
20 msg "Updating source code..."
21 if [[ -d $_gitname ]]; then
22 cd "$_gitname" && git pull origin
24 git clone "$_gitroot" "$_gitname" -b "$_gitbranch$" --depth=1
29 cd "$srcdir/$_gitname"
30 install -Dm0755 "indimpc.py" "$pkgdir/usr/bin/indimpc"
31 install -Dm0755 "indimpc.desktop" "$pkgdir/etc/xdg/autostart/indimpc.desktop"
32 install -Dm0644 "indimpc.rc" "$pkgdir/usr/share/doc/indimpc/indimpc.rc"
33 install -Dm0644 "guake.patch" "$pkgdir/usr/share/doc/indimpc/guake.patch"