summaryrefslogblamecommitdiff
path: root/user/gi-docgen/APKBUILD
blob: c4afc7f0c75a4320e0570de6b43ce8616e5ded1b (plain) (tree)

































                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gi-docgen
pkgver=2022.1
pkgrel=0
pkgdesc="Documentation tool for GObject-based libraries"
url="https://pypi.org/project/gi-docgen/"
arch="noarch"
license="Apache-2.0 OR GPL-3.0+"
depends="python3 py3-jinja2 py3-markdown py3-markupsafe py3-pygments py3-toml
	py3-typogrify"
makedepends="meson"
subpackages=""
source="https://download.gnome.org/sources/gi-docgen/2022/gi-docgen-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="f65fd2168e8eaa14fde78333ed5dc8705b7476bf5c1d7ae565ddca85983e6bad1fa9f7263259426cecd0aafc3c06151641830e4c5dc2561a76eaf441d60ce6c6  gi-docgen-2022.1.tar.xz"