blob: 8f803d815a2367189b578b2093895191ec5c2a98 (
plain) (
blame)
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
38
39
40
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Zach van Rijn <me@zv.io>
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() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="93a4e887a764a2bf3e77a48220693c30c0e8b249e1de193c61f20235e514ad206dba4b99c81cd6791e525e6cd406c8dc3508c92fc52f6cc52ecf05632b9a7cb6 gi-docgen-2022.1.tar.gz"
|