20 lines
540 B
Plaintext
20 lines
540 B
Plaintext
# Description: A pythonic binding for the libxml2 and libxslt libraries.
|
|
# URL: https://lxml.de/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: python3-beautifulsoup4 python3-cssselect python3-cython python3-html5lib libxslt
|
|
|
|
name=python3-lxml
|
|
_name=${name#*-}
|
|
version=4.6.3
|
|
release=1
|
|
source=(https://github.com/$_name/$_name/archive/refs/tags/$_name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $_name-$_name-$version
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install \
|
|
--prefix=/usr --root=$PKG --optimize=1
|
|
}
|