2010-09-13 01:04:16 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=python-mpdclient2
|
|
|
|
pkgver=1.0
|
2010-12-19 09:29:41 +08:00
|
|
|
pkgrel=2
|
2010-09-13 01:04:16 +08:00
|
|
|
pkgdesc="Python module for interfacing MPD"
|
|
|
|
arch=(any)
|
|
|
|
url="http://incise.org/py-libmpdclient2.html"
|
|
|
|
license=(custom)
|
2010-12-19 09:29:41 +08:00
|
|
|
depends=('python2')
|
2010-09-13 01:04:16 +08:00
|
|
|
source=(http://incise.org/files/dev/py-libmpdclient2-1.0.tgz)
|
|
|
|
md5sums=('fd04a669f25827386a29e842a4cbcefe')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/py-libmpdclient2"
|
2010-12-19 09:29:41 +08:00
|
|
|
python2 setup.py install --root="$pkgdir" --optimize=1 || return 1
|
2010-09-13 01:04:16 +08:00
|
|
|
install -Dm644 COPYING.txt \
|
|
|
|
"$pkgdir/usr/share/licenses/$pkgname/COPYING.txt" || return 1
|
|
|
|
}
|