summaryrefslogtreecommitdiff
path: root/community/gi-docgen/APKBUILD
blob: cd893e361b5fc4649786a162834f23ae0f81640e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=gi-docgen
pkgver=2022.1
pkgrel=0
pkgdesc="A documentation generator for GObject-based libraries"
url="https://gitlab.gnome.org/GNOME/gi-docgen"
arch="noarch"
license="Apache-2.0 OR GPL-3.0-or-later"
depends="
	py3-jinja2
	py3-markdown
	py3-markupsafe
	py3-pygments
	py3-toml
	py3-typogrify
	python3
	"
makedepends="meson"
source="https://gitlab.gnome.org/GNOME/gi-docgen/-/archive/$pkgver/gi-docgen-$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
93a4e887a764a2bf3e77a48220693c30c0e8b249e1de193c61f20235e514ad206dba4b99c81cd6791e525e6cd406c8dc3508c92fc52f6cc52ecf05632b9a7cb6  gi-docgen-2022.1.tar.gz
"