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

               

           


                                                   


                                                                                       
              
                                                                                  

                                                                     
                                                                                    

           
                       
                       


         
                                        








                                          



                  


                                      
                                                                                                                                                                  
# Maintainer: 
pkgname=gtk-doc
pkgver=1.30
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"

prepare() {
	autoreconf -vif
	default_prepare
}

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="8fde6aa89cdf0ce59999a17d7f1ecb51e63f93aa7514aeffac6504a357408151f8fb86431050285596e9da2a9612840969a42d7423e8df316e9dadddd5fc1612  gtk-doc-1.30.tar.xz"