summaryrefslogtreecommitdiff
path: root/user/gtk-doc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 04:29:40 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 05:03:41 -0500
commita456e4313a9fbe8ca008603e45391bf582f0e874 (patch)
tree05fa9544a1411481b93eca8b40fb53d718b78083 /user/gtk-doc/APKBUILD
parentcae102378fb2c807251297f8641f3dd92f8ec44f (diff)
downloadpackages-a456e4313a9fbe8ca008603e45391bf582f0e874.tar.gz
packages-a456e4313a9fbe8ca008603e45391bf582f0e874.tar.bz2
packages-a456e4313a9fbe8ca008603e45391bf582f0e874.tar.xz
packages-a456e4313a9fbe8ca008603e45391bf582f0e874.zip
user/gtk-doc: pull in, fix up
Diffstat (limited to 'user/gtk-doc/APKBUILD')
-rw-r--r--user/gtk-doc/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/gtk-doc/APKBUILD b/user/gtk-doc/APKBUILD
new file mode 100644
index 000000000..a25cf1703
--- /dev/null
+++ b/user/gtk-doc/APKBUILD
@@ -0,0 +1,45 @@
+# Maintainer:
+pkgname=gtk-doc
+pkgver=1.26
+pkgrel=2
+pkgdesc="Documentation tool for public library API"
+url="https://www.gtk.org/gtk-doc/"
+arch="noarch"
+license="GFDL"
+depends="docbook-xsl perl python3 py3-six pkgconf glib-dev highlight"
+makedepends="rarian-dev py-libxml2 itstool autoconf automake libtool"
+checkdepends="bc"
+source="https://download.gnome.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
+ 0001-tests-Label-parts-with-decimals-not-roman-numerals.patch
+ "
+# it does not seem to be possible to disable tests of pdf which requires dblatex or fop
+# disable checks for now
+options="!check"
+
+prepare() {
+ cd "$builddir"
+ autoreconf -vif
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-highlight=highlight
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="91f0e0e51d9f77794c0ab57bad5c2da242252f029ab2d4252f8740ccf8b18fed49a7f010f654f5ba60ebed74f7b65a5ef1f762c8661eebfcacfe15dc3bc3c52c gtk-doc-1.26.tar.xz
+a86438a9cbbf1bb60d2aea93f10a473f3fe7814cdbf0a454ff42bea88e79f21f9e748e063335aa6332878fa8f8a1c00ef288a44631b510471cc6bb806851b391 0001-tests-Label-parts-with-decimals-not-roman-numerals.patch"