Files
ports/main/python3-libxml2/spkgbuild

17 lines
444 B
Plaintext

# description : Python bindings for the XML library version 2
# homepage : http://xmlsoft.org/
# depends : python3-setuptools libxml2
name=python3-libxml2
version=2.10.2
release=2
source="https://download.gnome.org/sources/libxml2/2.10/libxml2-$version.tar.xz"
build() {
cd libxml2-$version
./configure --prefix=/usr --sysconfdir=/etc
cd python
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG
}