mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
769 B
Bash
22 lines
769 B
Bash
# 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')
|