diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/gi-docgen/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/gi-docgen/APKBUILD b/user/gi-docgen/APKBUILD new file mode 100644 index 000000000..c4afc7f0c --- /dev/null +++ b/user/gi-docgen/APKBUILD @@ -0,0 +1,35 @@ +# 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" |