1 # Contributer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
3 # Maintainer: Thomas Burdick <thomas.burdick@gmail.com>
5 pkgname=python-pyserial-svn
8 pkgdesc="Multiplatform Serial Port Module for Python"
10 url="http://pyserial.sf.net"
11 license=('custom:PYTHON')
12 makedepends=('subversion')
16 _svntrunk=https://pyserial.svn.sourceforge.net/svnroot/pyserial/trunk/pyserial
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up)
24 svn co $_svntrunk $_svnmod
27 cp -r $_svnmod $_svnmod-build
30 python setup.py install --root=$pkgdir
31 install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt