37 lines
986 B
Bash
37 lines
986 B
Bash
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||
|
# then please put 'unknown'.
|
||
|
|
||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||
|
pkgname=python-lxml
|
||
|
pkgver=5.1.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
|
||
|
arch=('x86_64')
|
||
|
url="https://lxml.de"
|
||
|
license=('BSD' 'custom')
|
||
|
depends=('python' 'libxslt')
|
||
|
makedepends=(
|
||
|
'python-build'
|
||
|
'python-installer'
|
||
|
'python-flit-core'
|
||
|
'python-wheel'
|
||
|
'python-cython'
|
||
|
)
|
||
|
source=(https://github.com/lxml/lxml/releases/download/${pkgname#*-}-${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
||
|
sha256sums=(c4b12bc6d6186ba8ac07bb7bb558312ec6738ca7d9365e862aa9c4462388ffb7)
|
||
|
|
||
|
build() {
|
||
|
cd ${pkgname#*-}-${pkgver}
|
||
|
|
||
|
python3 -m build -nw
|
||
|
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${pkgname#*-}-${pkgver}
|
||
|
|
||
|
python3 -m installer -d ${pkgdir} dist/*.whl
|
||
|
}
|