32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
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-gi-docgen
|
||
|
pkgver=2023.3
|
||
|
pkgrel=1
|
||
|
pkgdesc="Documentation generator for GObject-based libraries"
|
||
|
arch=('x86_64')
|
||
|
url="https://gnome.pages.gitlab.gnome.org/gi-docgen"
|
||
|
license=('Apache-2.0 OR GPL-3.0-or-later' 'BSD-2-Clause')
|
||
|
depends=('python-jinja2' 'python-magic' 'python-markdown' 'python-markupsafe'
|
||
|
'python-packaging' 'python-pygments' 'python-typogrify')
|
||
|
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
|
||
|
options=()
|
||
|
source=(https://gitlab.gnome.org/GNOME/gi-docgen/-/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.bz2)
|
||
|
sha256sums=(1e37515e4d45dcb5e5daf648e76bb35eb7bacc16767724f9c8ba601ef088accc)
|
||
|
|
||
|
build() {
|
||
|
cd ${pkgname#*-}-${pkgver}
|
||
|
|
||
|
python3 -m build --wheel --no-isolation
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${pkgname#*-}-${pkgver}
|
||
|
|
||
|
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||
|
}
|