30 lines
1010 B
Bash
30 lines
1010 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-sphinxcontrib-jquery
|
|
pkgver=4.1
|
|
pkgrel=1
|
|
pkgdesc="Extension to include jQuery on newer Sphinx releases"
|
|
arch=('x86_64')
|
|
url="https://github.com/sphinx-contrib/jquery"
|
|
license=('0BSD')
|
|
depends=('python' 'python-sphinx')
|
|
makedepends=('python-build' 'python-flit-core' 'python-installer')
|
|
source=(https://files.pythonhosted.org/packages/source/s/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz)
|
|
sha256sums=(1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a)
|
|
|
|
build() {
|
|
cd ${pkgname#*-}-${pkgver}
|
|
|
|
python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname#*-}-${pkgver}
|
|
|
|
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
|
}
|