aboutsummaryrefslogblamecommitdiffstats
path: root/main/gnome-doc-utils/APKBUILD
blob: e59f6f5d845daf146ce17950bca87605d3680afe (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
              
        

                                           
             
                  
                                                      
                                                               
                             
                                        
                                                                                             
 
                                    
 

                       
                                     
 


                       



                                 


                                         

                                        







                                                  
                                                                          
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-doc-utils
pkgver=0.20.10
pkgrel=1
pkgdesc="Documentation utilities for Gnome"
url="http://www.gnome.org"
arch="noarch"
license="GPL LGPL"
depends="python docbook-xml rarian py-libxml2 libxslt"
makedepends="libxslt-dev libxml2-dev perl-xml-parser rarian-dev
	gettext-dev intltool"
subpackages="$pkgname-lang $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-scrollkeeper \
		|| return 1
	# broken with parallell builds
	make -j1 || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="3c64ad7bacd617b04999e4a168afaac5  gnome-doc-utils-0.20.10.tar.xz"