# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>

pkgname=python-pyserial
pkgver=2.4
pkgrel=1
pkgdesc="Multiplatform Serial Port Module for Python"
arch=('i686' 'x86_64')
url="http://pyserial.sf.net"
license=('custom:PYTHON')
depends=('python')
source=(http://downloads.sourceforge.net/sourceforge/pyserial/pyserial-$pkgver.tar.gz)

build() {
	cd $startdir/src/pyserial-$pkgver
    python setup.py install --root=$startdir/pkg
	install -D -m644 LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt
}
md5sums=('eec19df59fd75ba5a136992897f8e468')