updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / python-pylibftdi / PKGBUILD
blobcb908d7bf14a47d4e70c5ea064cab8d6743e9b0a
1 #Maintainer: Randy Heydon <randy.heydon at clockworklab dot net>
2 pkgname=python-pylibftdi
3 pkgver=0.8.1
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 source=(http://pypi.python.org/packages/source/p/pylibftdi/pylibftdi-$pkgver.tar.gz)
11 md5sums=('3631821a79a281c27d5816cadec52fe4')
13 build() {
14   cd $srcdir/pylibftdi-$pkgver
15   python ./setup.py install --root=$pkgdir --optimize=1 || return 1
16   install -Dm 644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE