db-move: moved gcr from [testing] to [extra] (x86_64)
[arch-packages.git] / gi-docgen / trunk / PKGBUILD
blobfabb341f0de874764fabc8126d1cad30d44613a9
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=gi-docgen
4 pkgver=2023.1
5 pkgrel=4
6 pkgdesc="Documentation generator for GObject-based libraries"
7 url="https://gnome.pages.gitlab.gnome.org/gi-docgen/"
8 arch=(any)
9 license=(Apache GPL3)
10 depends=(python-jinja python-markdown python-markupsafe python-pygments
11          python-toml python-typogrify)
12 makedepends=(python-setuptools git)
13 _commit=63b4fad4181e793f34b7777a89e5cb58fe8ac7e6  # tags/2023.1^0
14 source=("git+https://gitlab.gnome.org/GNOME/gi-docgen.git#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18   cd $pkgname
19   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
22 prepare() {
23   cd $pkgname
26 build() {
27   cd $pkgname
28   python setup.py build
31 package() {
32   cd $pkgname
33   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
36 # vim:set sw=2 sts=-1 et: