### this file is sourced not run
PKGVER=2.13.0
PKGBUILD=1
PKGARCH=noarch

# source: BLFS 7.5 - this one extracts the docs only
TARBALL=fontconfig-$PKGVER.tar.bz2
MD5SUM=60d2394a79d3b2e5db2daea55193fa47
SRC_URL=http://www.freedesktop.org/software/fontconfig/release/$TARBALL
BUNDLE=

SLACKREQ=''
SLACKDESC="fontconfig-docs: fontconfig-docs $PKGVER (Documentation for fontconfig)  
fontconfig-docs:  
fontconfig-docs: This package contains documentation for fontconfig.
fontconfig-docs: 
fontconfig-docs: 
fontconfig-docs: 
fontconfig-docs: 
fontconfig-docs: 
fontconfig-docs: 
fontconfig-docs: 
fontconfig-docs:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/fontconfig*
	
	install -v -dm755 \
			/usr/share/{man/man{3,5},doc/fontconfig-$PKGVER/fontconfig-devel} &&
	install -v -m644 fc-*/*.1          /usr/share/man/man1 &&
	install -v -m644 doc/*.3           /usr/share/man/man3 &&
	install -v -m644 doc/fonts-conf.5  /usr/share/man/man5 &&
	install -v -m644 doc/fontconfig-devel/* \
			/usr/share/doc/fontconfig-$PKGVER/fontconfig-devel &&
	install -v -m644 doc/*.{pdf,sgml,txt,html} \
		   /usr/share/doc/fontconfig-$PKGVER &&
	
	pkg_build_slackdesc
}
