mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 20:57:16 +08:00
27 lines
790 B
Bash
27 lines
790 B
Bash
|
#
|
||
|
# 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
|
||
|
pkgrel=1
|
||
|
pkgdesc="Python module for interfacing MPD"
|
||
|
arch=(any)
|
||
|
url="http://incise.org/py-libmpdclient2.html"
|
||
|
license=(custom)
|
||
|
depends=('python')
|
||
|
source=(http://incise.org/files/dev/py-libmpdclient2-1.0.tgz)
|
||
|
md5sums=('fd04a669f25827386a29e842a4cbcefe')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/py-libmpdclient2"
|
||
|
python setup.py install --root="$pkgdir" --optimize=1 || return 1
|
||
|
install -Dm644 COPYING.txt \
|
||
|
"$pkgdir/usr/share/licenses/$pkgname/COPYING.txt" || return 1
|
||
|
}
|