summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd301a9ccd048d7a28de081ff643ad11f11add11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Jörg Thalheim <joerg@higgsboson.tk
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
# Contributor: Peter Richard Lewis <plewis@aur.archlinux.org>
# Contributor: Wieland Hoffmann <the_mineo@web.de>
# Contributor: stonecrest <stonecrest[at]gmail[dot]com>

pkgname='python2-mpd2-git'
pkgrel=1
pkgver=20130625
pkgdesc="Python2 MPD client library"
depends=('python2')
conflicts=('python2-mpd2' 'python2-mpd')
provides=('python2-mpd2')
url="http://github.com/Mic92/python-mpd2"
makedepends=('git' 'python2-distribute')
license=('GPL3')
arch=('any')
source=("git+https://github.com/Mic92/python-mpd2.git")
sha1sums=('SKIP')

pkgver() {
  cd "$srcdir/python-mpd2"
  git log -1 --format='%cd' --date=short | tr -d -- '-'
}

package() {
  cd "$srcdir/python-mpd2"
  python2 setup.py install --root="$pkgdir/" --optimize=1
}