PKGBUILDs/community/python-mechanize/PKGBUILD

23 lines
769 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Douglas Soares de Andrade
# Contributor: Roberto Alsina <ralsina@kde.org>
pkgname=python-mechanize
pkgver=0.1.11
pkgrel=1
pkgdesc="Stateful programmatic web browsing in Python"
arch=('i686' 'x86_64')
url="http://wwwsearch.sourceforge.net/mechanize/"
license=('BSD')
depends=('python-clientform')
makedepends=('setuptools')
source=(http://wwwsearch.sourceforge.net/mechanize/src/mechanize-$pkgver.tar.gz)
build() {
cd $startdir/src/mechanize-$pkgver
python setup.py bdist_dumb
cd $startdir/pkg
tar xzvf $startdir/src/mechanize-$pkgver/dist/mechanize-$pkgver.linux*.tar.gz
install -D -m644 $startdir/src/mechanize-$pkgver/COPYING.txt $startdir/pkg/usr/share/licenses/$pkgname/COPYING.txt
}
md5sums=('c5e89a1886e44bd7a8598b0ba47287af')