summaryrefslogtreecommitdiff
path: root/user/gtk-doc/APKBUILD
blob: b99643f5089ada8461166bf5795ecd25ee2452eb (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
# Maintainer: 
pkgname=gtk-doc
pkgver=1.32
pkgrel=0
pkgdesc="Documentation tool for public library API"
url="https://www.gtk.org/gtk-doc/"
arch="noarch"
# it does not seem to be possible to disable tests of pdf which requires dblatex or fop
# disable checks for now
options="!check"
license="GFDL"
depends="docbook-xsl perl python3 py3-pygments py3-six pkgconf glib-dev highlight"
checkdepends="bc"
makedepends="rarian-dev py-libxml2 itstool autoconf automake libtool"
source="https://download.gnome.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"

build() {
	export PYTHON="/usr/bin/python3"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-highlight=highlight
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="6d28395968c2951f1685570e5778b5add76d1b9cff8fcb8632b200b3ba251602a1ea59b1def84fc28560988b87fc0dbbc6947af88d268db6ff23e9c28aea3b28  gtk-doc-1.32.tar.xz"