updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / twill / PKGBUILD
blobb4a4b576b351dc5e50a94ea00316941974be24b4
1 # Contributor: Zhou Xin <soul916@hotmail.com>
2 # Contributor: Roberto Alsina <ralsina@kde.org>
3 pkgname=twill
4 pkgver=0.9
5 pkgrel=6
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/"
8 license=('MIT')
9 depends=('python2' 'python-mechanize' 'python-clientform' 'pyparsing')
10 makedepends=('python2')
11 provides=("twill=${pkgver}-${pkgrel}")
12 arch=('any')
13 source=(http://darcs.idyll.org/~t/projects/$pkgname-$pkgver.tar.gz
14         fix_history_path.patch
15         remove_ext.patch)
17 build() {
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')