1 # Contributor: tocer <tocer.deng@gmail.com>
7 pkgdesc="A tour of the Python standard library through short examples"
9 url="http://www.doughellmann.com/PyMOTW/"
11 source=(http://www.doughellmann.com/downloads/$_pkgname-$pkgver.tar.gz)
13 md5sums=('c9a5716a98d0d1b101ac654e2b2d3f41')
16 cd $srcdir/$_pkgname-$pkgver
17 python2 setup.py install --root=$pkgdir/ || return 1
19 sed -i '1s/python$/python2/' motw
20 install -D -m755 motw $pkgdir/usr/bin/motw
21 install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE