diff options
-rw-r--r-- | testing/py-mechanize/APKBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/testing/py-mechanize/APKBUILD b/testing/py-mechanize/APKBUILD index 0fdad0c25b..c7c661a271 100644 --- a/testing/py-mechanize/APKBUILD +++ b/testing/py-mechanize/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-mechanize _pkgname=mechanize -pkgver=0.2.4 +pkgver=0.2.5 pkgrel=0 pkgdesc="Stateful programmatic web browsing in Python" url="http://wwwsearch.sourceforge.net/mechanize/" @@ -15,9 +15,16 @@ install="" subpackages="" source="http://wwwsearch.sourceforge.net/$_pkgname/src/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + package() { cd "$_builddir" - python setup.py install --root=$pkgdir + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 install -Dm644 COPYING.txt ${pkgdir}/usr/share/licenses/custom/${pkgname}/COPYING.txt } -md5sums="0c1c3cec1c6d7b5d87662a069f04eb8d mechanize-0.2.4.tar.gz" + +md5sums="32657f139fc2fb75bcf193b63b8c60b2 mechanize-0.2.5.tar.gz" |