summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 054d317fdc0..0e2ade16473 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,14 @@
# Maintainer: BrainDamage
pkgname=python2-readability-lxml
-pkgver=0.6.1
+pkgver=0.7
pkgrel=1
pkgdesc="This is a python port of a ruby port of arc90’s readability project"
arch=(any)
-url="https://github.com/buriy/python-readability"
+url="https://pypi.org/project/readability-lxml/"
license=("custom:Apache")
depends=("python2" "python2-chardet" "python2-cssselect" "python2-lxml")
-optdepends=()
-md5sums=("ba7bd3b90f2689472df0b10cc87ad5f2" "180667c7abbe3fa664518bfc5da9a145")
+sha256sums=("b6b30684e302802cdab490dc5093555bfebba663eb569814225939c6b0dead3f" "1f2afa61a3e7d62e5cf62b471c60c40853effc3428289f5961c84e24cf60447a")
source=("https://pypi.python.org/packages/source/r/readability-lxml/readability-lxml-$pkgver.tar.gz" "LICENSE")
-
build() {
cd "$srcdir/readability-lxml-$pkgver"
python2 setup.py build
@@ -19,6 +17,6 @@ build() {
package() {
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/python2-readability-lxml/LICENSE"
cd "$srcdir/readability-lxml-$pkgver"
- python2 setup.py install --root="$pkgdir/" --prefix="/usr"
- install -m644 -D README "$pkgdir/usr/share/doc/python2-readability-lxml/README"
+ python2 setup.py install --optimize=1 --root="$pkgdir/" --prefix="/usr"
+ install -m644 -D README.rst "$pkgdir/usr/share/doc/python2-readability-lxml/README.rst"
}