Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Maintainer: Randy Heydon <randy.heydon at clockworklab dot net>
- pkgname=python-pylibftdi
- pkgver=0.17.0
- pkgrel=1
- pkgdesc="Pythonic interface to FTDI devices using libftdi"
- arch=(any)
- url="http://bitbucket.org/codedstructure/pylibftdi"
- license=('MIT')
- depends=('python' 'libftdi')
- _name=${pkgname#python-}
- source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
- sha256sums=('dc615a5338c866cc1a316cabef2ea5862b75c81de9410b85a85f38a033214c8c')
- package () {
- cd $srcdir/pylibftdi-$pkgver
- python ./setup.py install --root=$pkgdir --optimize=1 || return 1
- install -Dm 644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement