diff --git a/python2-beautifulsoup/PKGBUILD b/python2-beautifulsoup3/PKGBUILD similarity index 54% rename from python2-beautifulsoup/PKGBUILD rename to python2-beautifulsoup3/PKGBUILD index 2ecd1d562..c0c84bacc 100644 --- a/python2-beautifulsoup/PKGBUILD +++ b/python2-beautifulsoup3/PKGBUILD @@ -1,25 +1,23 @@ -# -# Chakra Apps for Chakra, part of chakra-project.org -# -# contributor (x86_64): Giuseppe CalĂ  +# Maintainer: Manuel 'UtG' -pkgname=python2-beautifulsoup +pkgname=python2-beautifulsoup3 pkgver=3.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping." -arch=('any') +arch=('x86_64') url="http://www.crummy.com/software/BeautifulSoup/index.html" license=('PSF') depends=('python2') -replaces=('beautiful-soup') -provides=('beautiful-soup') -conflicts=('beautiful-soup') +replaces=('python2-beautifulsoup' 'beautiful-soup') +provides=('python2-beautifulsoup=3.2.1' 'beautiful-soup') +conflicts=('python2-beautifulsoup' 'beautiful-soup') source=(http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-$pkgver.tar.gz) md5sums=('5ad1a8550a19bfc945baac23eb8293ed') -build() { - cd ${srcdir}/BeautifulSoup-$pkgver +package() { + cd "${srcdir}/BeautifulSoup-$pkgver" + python2 setup.py install --root=${pkgdir} -O1 }