Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #Maintainer: Randy Heydon <randy.heydon at clockworklab dot net>
  2. pkgname=python-pylibftdi
  3. pkgver=0.17.0
  4. pkgrel=1
  5. pkgdesc="Pythonic interface to FTDI devices using libftdi"
  6. arch=(any)
  7. url="http://bitbucket.org/codedstructure/pylibftdi"
  8. license=('MIT')
  9. depends=('python' 'libftdi')
  10. _name=${pkgname#python-}
  11. source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
  12. sha256sums=('dc615a5338c866cc1a316cabef2ea5862b75c81de9410b85a85f38a033214c8c')
  13.  
  14. package () {
  15. cd $srcdir/pylibftdi-$pkgver
  16. python ./setup.py install --root=$pkgdir --optimize=1 || return 1
  17. install -Dm 644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement