# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: 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=python-mpd2
pkgver=1.0.0
pkgrel=3
pkgdesc='Python library which provides a client interface for the Music Player Daemon'
url=https://github.com/Mic92/python-mpd2
license=(GPL3)
depends=(python)
makedepends=(
  git
  python-setuptools
)
arch=(any)
source=(git+https://github.com/Mic92/python-mpd2.git#tag=v${pkgver})
sha256sums=(SKIP)

build() {
  cd python-mpd2

  python setup.py build
}

package() {
  cd python-mpd2

  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}

# vim: ts=2 sw=2 et:
