1 # Contributor: Zhou Xin <soul916@hotmail.com>
2 # Contributor: Roberto Alsina <ralsina@kde.org>
6 pkgdesc="twill is a simple language that allows users to browse the Web from a command-line interface. With twill, you can navigate through Web sites that use forms, cookies, and most standard Web features."
7 url="http://twill.idyll.org/"
9 depends=('python2' 'python-mechanize' 'python-clientform' 'pyparsing')
10 makedepends=('python2')
11 provides=("twill=${pkgver}-${pkgrel}")
13 source=(http://darcs.idyll.org/~t/projects/$pkgname-$pkgver.tar.gz
14 fix_history_path.patch
18 cd $srcdir/$pkgname-$pkgver
19 patch -p1 < $srcdir/fix_history_path.patch
20 patch -p1 < $srcdir/remove_ext.patch
21 install -D doc/LICENSE.txt $pkgdir/usr/share/licenses/twill/LICENSE
22 python2 setup.py install --root=$pkgdir bdist_dumb
24 md5sums=('c362307616696f4838e9456c42b70fdc'
25 '5cd3171f489a36ebbdf2a0fbc79b57a6'
26 '8eb0137a5cd9dfdf20967be94d3a9dea')