#Maintainer: Shador pkgname=beautifulsoup pkgver=3.1.0.1 pkgrel=2ab arch=x86_64 source=('http://www.crummy.com/software/BeautifulSoup/download/BeautifulSoup-3.1.0.1.tar.gz') sourcetemplate="http://gaia.homelinux.org/salix/packages-x86_64/$pkgname/$pkgver/" docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url='http://www.crummy.com/software/BeautifulSoup/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Python HTML/XML parser)" "Beautiful Soup is a Python HTML/XML parser designed for quick" "turnaround projects like screen-scraping." ) build() { cd $startdir/src/BeautifulSoup-$pkgver python setup.py install --prefix=/usr --root=$startdir/pkg || return 1 rm -v $startdir/pkg/usr/bin/testall.sh $startdir/pkg/usr/bin/to3.sh rmdir -v $startdir/pkg/usr/bin/ }