summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-07-03 02:13:26 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:02 -0500
commit96b7dfab1154f36ca20eb13d67a88dd5689030a9 (patch)
tree8d205886f521c512439a82bbe6d3264ceea14c8a /user
parentc5efd4e7b85cfd035ad859e2408cefd3e170ccfc (diff)
downloadpackages-96b7dfab1154f36ca20eb13d67a88dd5689030a9.tar.gz
packages-96b7dfab1154f36ca20eb13d67a88dd5689030a9.tar.bz2
packages-96b7dfab1154f36ca20eb13d67a88dd5689030a9.tar.xz
packages-96b7dfab1154f36ca20eb13d67a88dd5689030a9.zip
user/gi-docgen: New package
Diffstat (limited to 'user')
-rw-r--r--user/gi-docgen/APKBUILD35
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"