updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / indimpc-git / PKGBUILD
blob9c62613cc84f736c9284c12c99df3588f24c1243
1 # Author: Felipe Morales <hel.sheep@gmail.com>
2 # Maintainer: <grawity@gmail.com>
3 pkgname=indimpc-git
4 pkgver=20110718
5 pkgrel=1
6 pkgdesc="Minimalistic MPD client with support for multimedia keys and notifications"
7 arch=(any)
8 url="https://github.com/fmoralesc/indimpc"
9 license=("GPL")
10 depends=("dbus-python" "python-notify" "python-mpd")
11 sha1sums=('3df59a5d71cdb187b57e499a40468fa76c5e35ce')
13 _gitroot="git://github.com/fmoralesc/indimpc.git"
14 _gitname="indimpc"
16 build() {
17   cd "$srcdir"
19   msg "Updating source code..."
20   if [[ -d $_gitname ]]; then
21     cd "$_gitname" && git pull origin
22   else
23     git clone "$_gitroot" "$_gitname"
24   fi
27 package() {
28   cd "$srcdir/$_gitname"
29   install -Dm0755 "indimpc.py" "$pkgdir/usr/bin/indimpc"
30   install -Dm0755 "indimpc.desktop" "$pkgdir/etc/xdg/autostart/indimpc.desktop"