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

               
           
        


                                                   


                                                                                       
              
                                                                                  

                                                                     
                                                                                    
 
         
                                        








                                          



                  


                                      
                                                                                                                                                                  
# Maintainer: 
pkgname=gtk-doc
pkgver=1.31
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="5f1bd314cafa5dee53fe3358b66b1f730536306cdec4294327410e86353040a05716e33990af03e221e83f917fab0224eeb22f13ec6cf901e81466eb7c720e86  gtk-doc-1.31.tar.xz"