summaryrefslogblamecommitdiff
path: root/user/gtk-doc/APKBUILD
blob: a85a6c2fc7a9baf046612cf7da39c55dfb78c36b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                      
               
           
        


                                                   


                                                                                       
              
                                                                                  
                 
                                                                      
                                                                                    
 
         
                                        








                                          



                  


                                      
                                                                                                                                                                  
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=gtk-doc
pkgver=1.32
pkgrel=1
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 py3-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"