PKGBUILDs/extra/biopython/PKGBUILD
2009-10-09 21:23:22 -05:00

21 lines
643 B
Bash

# $Id: PKGBUILD 45068 2009-07-06 21:18:17Z giovanni $
# Maintainer: damir <damir@archlinux.org>
pkgname=biopython
pkgver=1.51b
pkgrel=1
pkgdesc="Biopython: freely available Python tools for computational molecular biology"
arch=("i686" "x86_64")
url="http://www.biopython.org"
license=('custom')
depends=('glibc' 'python>=2.6' 'python-numpy')
makedepends=('gcc')
source=("$url/DIST/$pkgname-$pkgver.tar.gz")
build() {
cd $startdir/src/$pkgname-$pkgver
yes | python setup.py build
# python setup.py test
yes | python setup.py install --root=$startdir/pkg
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}