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

                                                   

                                                                                       
              
                                                                                  
                                                                     
                                                                                    
 
         
                                        







                                          


                  

                                      
                                                                                                                                                                  
# 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"
makedepends="rarian-dev py-libxml2 itstool autoconf automake libtool"
checkdepends="bc"
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"